Michsior14 / ha-venta

Home assistant integration for Venta devices
MIT License
11 stars 6 forks source link

feat: timer action #53

Closed Michsior14 closed 1 week ago

Michsior14 commented 1 week ago

Add timer action for supported models.

Action definition:

{
  "name": "Timer",
  "type": "integer",
  "description": "Shutdown timer in hours.",
  "default": 0,
  "values": [
    {
      "value": 0,
      "type": "integer",
      "description": "Timer OFF."
    },
    {
      "value": 1,
      "type": "integer",
      "description": "Shutdown in 1 hour."
    },
    {
      "value": 3,
      "type": "integer",
      "description": "Shutdown in 3 hour."
    },
    {
      "value": 5,
      "type": "integer",
      "description": "Shutdown in 5 hour."
    },
    {
      "value": 7,
      "type": "integer",
      "description": "Shutdown in 7 hour."
    },
    {
      "value": 9,
      "type": "integer",
      "description": "Shutdown in 9 hour."
    }
  ]
}