MatterEx.Cluster.PowerSource (matter_ex v0.3.1)

Copy Markdown View Source

Matter Power Source cluster (0x002F).

Reports the device's power source status — wired, battery, or battery backup. Controllers use this to display battery levels and warn on low power.

Summary

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get_attribute(state, name)

set_attribute(state, name, value)

start_link(opts \\ [])