AutoApi.ClimateState.from_bin
You're seeing just the function
from_bin
, go back to AutoApi.ClimateState module for more information.
Specs
Build state based on binary value
iex> AutoApi.ClimateState.from_bin(<<1, 0, 13, 1, 0, 10, 23, 1, 64, 60, 0, 0, 0, 0, 0, 0>>) %AutoApi.ClimateState{inside_temperature: %AutoApi.Property{data: %{value: 28.0, unit: :celsius}}}