AutoApi.LightConditionsState.from_bin

You're seeing just the function from_bin, go back to AutoApi.LightConditionsState module for more information.

Specs

from_bin(binary()) :: t()

Build state based on binary value

iex> bin = <<1, 0, 13, 1, 0, 10, 17, 0, 64, 57, 43, 133, 30, 184, 81, 236>> iex> AutoApi.LightConditionsState.from_bin(bin) %AutoApi.LightConditionsState{outside_light: %AutoApi.Property{data: %{value: 25.17, unit: :lux}}}