module

HomeconnectLocal::Runtime::Builder

Class methods

entity_id_for(domain : String, name_prefix : String, name : String) : String
Source
from_device_description(device : DeviceDescription, transport : Transport, app : RuntimeApp = RuntimeApp.new, config : BuildConfig = BuildConfig.new) : RuntimeApp

Build and start a runtime app from parsed device description.

This constructs a practical default mapping:

  • settings -> switch/select/number
  • status/events -> sensor/binary_sensor
  • commands -> button
  • selected/active program -> select/sensor
  • optional start-program button
Source

Nested types