AutoApi.WakeUpState.to_bin

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

Specs

to_bin(t()) :: binary()

Parse state to bin

iex> state = %AutoApi.WakeUpState{status: %AutoApi.Property{data: :sleep}} iex> AutoApi.WakeUpState.to_bin(state) <<1, 0, 4, 1, 0, 1, 1>>