glome/homeassistant/domain

Types

pub type Domain {
  AlarmControlPanel
  BinarySensor
  Button
  Calendar
  Camera
  Climate
  Cover
  DeviceTracker
  Fan
  GeoLocation
  Group
  Humidifier
  ImageProcessing
  InputBoolean
  Light
  Lock
  MediaPlayer
  Notifiy
  Number
  Person
  Remote
  Scene
  Select
  Sensor
  STT
  Sun
  Switch
  TTS
  Vacuum
  WaterHeater
  Weather
  Zone
  Domain(name: String)
}

Constructors

  • AlarmControlPanel
  • BinarySensor
  • Button
  • Calendar
  • Camera
  • Climate
  • Cover
  • DeviceTracker
  • Fan
  • GeoLocation
  • Group
  • Humidifier
  • ImageProcessing
  • InputBoolean
  • Light
  • Lock
  • MediaPlayer
  • Notifiy
  • Number
  • Person
  • Remote
  • Scene
  • Select
  • Sensor
  • STT
  • Sun
  • Switch
  • TTS
  • Vacuum
  • WaterHeater
  • Weather
  • Zone
  • Domain(name: String)

Functions

pub fn from_string(domain: String) -> Domain
pub fn to_string(domain: Domain) -> String