Hirdetés

Aktív témák

  • gerner1

    Topikgazda

    Az átküldött adatcsomagból, a jelzett helyiség világítás-vezérléséhez, a következő megoldást hoztam létre:

    Fényerő FEL automatizáció:
    alias: test_iroda_fel
    description: This automation starts the "Fényerő FEL" loop
    trigger:
    - platform: device
    domain: mqtt
    device_id: 4bc9b509fa5583eef4a5510c6e3eaf5c
    type: action
    subtype: brightness_move_up
    discovery_id: cx04cd15aafec1b1fb action_brightness_move_up
    id: fényerő_fel
    condition:
    - condition: state
    entity_id: input_boolean.test_iroda
    state: "off"
    action:
    - service: input_boolean.turn_on
    data: {}
    target:
    entity_id: input_boolean.test_iroda
    - repeat:
    while:
    - condition: state
    entity_id: input_boolean.test_iroda
    state: "on"
    sequence:
    - device_id: af50cc00db31fa34f82b4a3a26cd04fc8d
    domain: light
    entity_id: light.plafonnier_iroda
    type: brightness_increase
    - delay:
    hours: 0
    minutes: 0
    seconds: 1
    milliseconds: 0
    - service: input_boolean.turn_off
    data: {}
    target:
    entity_id: input_boolean.test_iroda
    mode: single

    Fényerő LE automtizáció:
    alias: test_iroda_le
    description: This automation starts the "Fényerő LE" loop
    trigger:
    - platform: device
    domain: mqtt
    device_id: 4bc9b509fa5583eef4a5510c6e3eaf5c
    type: action
    subtype: brightness_move_down
    discovery_id: cx04cd15aafec1b1fb action_brightness_move_down
    id: fényerő_fel
    condition:
    - condition: state
    entity_id: input_boolean.test_iroda
    state: "off"
    action:
    - service: input_boolean.turn_on
    data: {}
    target:
    entity_id: input_boolean.test_iroda
    - repeat:
    while:
    - condition: state
    entity_id: input_boolean.test_iroda
    state: "on"
    sequence:
    - device_id: af50cc00db31fa34f82b4a3a26cd04fc8d
    domain: light
    entity_id: light.plafonnier_iroda
    type: brightness_decrease
    - delay:
    hours: 0
    minutes: 0
    seconds: 1
    milliseconds: 0
    - service: input_boolean.turn_off
    data: {}
    target:
    entity_id: input_boolean.test_iroda
    mode: single

    Világitás KIKAPCS automatizáció:
    alias: test_iroda_KIKAPCS
    description: This automation stops any "Fényerő" loop
    trigger:
    - platform: device
    domain: mqtt
    device_id: 4bc9b509fa5583eef4a5510c6e3eaf5c
    type: action
    subtype: brightness_stop
    discovery_id: cx04cd15aafec1b1fb action_brightness_stop
    condition: []
    action:
    - service: input_boolean.turn_off
    data: {}
    target:
    entity_id: input_boolean.test_iroda
    mode: single

    * Egyik sem használ plugin -t, vagy extension -t.

    A korábbi megoldások / javításokkal azonos módon integrálható a már ismert eljárással (yaml szerkesztő..)...

Aktív témák