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