Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107572

Input_button to trigger current time, but time is not updated

$
0
0

Hello everyone,

that little helper should give me the current time and date:

alias: Ansage
description: Durchsage Uhrzeit und Datum.
triggers:
  - trigger: state
    entity_id:
      - input_button.ansaget
    from: null
conditions: []
actions:
  - action: tts.google_translate_say
    metadata: {}
    data:
      cache: false
      entity_id: media_player.wohnzimmer
      language: de
      message: |
        {% from 'message.jinja' import message %} {{ message }}
mode: single

The editor is telling me the correct time and date:

But when manually triggered (input button) I get something with 12:05 o’clock. I guess the state is the problem. No change in the state and you get the “old information”.

Is there a way to reset the state? Or a similar helper?

Thank you. :slight_smile:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 107572

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>