AutoApi.RooftopControlState.from_bin
You're seeing just the function
from_bin
, go back to AutoApi.RooftopControlState module for more information.
Specs
Build state based on binary value
iex> bin = <<1, 0, 11, 1, 0, 8, 63, 197, 194, 143, 92, 40, 245, 195>> iex> AutoApi.RooftopControlState.from_bin(bin) %AutoApi.RooftopControlState{dimming: %AutoApi.Property{data: 0.17}}