Current section

Files

Jump to
grizzly lib grizzly zwave command_classes battery.ex
Raw

lib/grizzly/zwave/command_classes/battery.ex

defmodule Grizzly.ZWave.CommandClasses.Battery do
@moduledoc """
"Battery" Command Class
This command class is used to get the battery level.
"""
@behaviour Grizzly.ZWave.CommandClass
@impl true
def byte(), do: 0x80
@impl true
def name(), do: :battery
end