Skip to content

Commit

Permalink
automatic upload by server
Browse files Browse the repository at this point in the history
  • Loading branch information
FaserF committed Oct 16, 2024
1 parent 8873b4a commit dc20d30
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions automation/telegram_commands.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@
action:
- service: telegram_bot.send_message
data_template:
target: "{{ trigger.event.data.user_id }}"
target: "{{ trigger.event.data.chat_id }}"
message: "Restarting Homeassistant Container..."
- service: homeassistant.restart

Expand All @@ -438,7 +438,7 @@
action:
- service: telegram_bot.send_message
data_template:
target: "{{ trigger.event.data.user_id }}"
target: "{{ trigger.event.data.chat_id }}"
message: "Rebooting Server..."
- delay: 00:00:05
- service: shell_command.restartha
Expand All @@ -458,7 +458,7 @@
action:
- service: telegram_bot.send_message
data_template:
target: "{{ trigger.event.data.user_id }}"
target: "{{ trigger.event.data.chat_id }}"
message: >
Hier sind ein paar Befehle:
Expand All @@ -480,7 +480,7 @@
action:
- service: telegram_bot.send_message
data_template:
target: "{{ trigger.event.data.user_id }}"
target: "{{ trigger.event.data.chat_id }}"
message: >
Hier sind ein paar Befehle:
Expand All @@ -504,7 +504,7 @@
action:
- service: telegram_bot.send_message
data_template:
target: "{{ trigger.event.data.user_id }}"
target: "{{ trigger.event.data.chat_id }}"
message: "System is online! Last system reboot was on {{ states('sensor.last_boot') }}."

- id: telegram_essen
Expand Down Expand Up @@ -546,7 +546,7 @@
- service: telegram_bot.send_message
data_template:
title: "Zufallsessensvorschlag: "
target: "{{ trigger.event.data.user_id }}"
target: "{{ trigger.event.data.chat_id }}"
message: >
**Rezept:** {{ states.sensor.chefkoch_random_recipe.state }}
Expand Down Expand Up @@ -592,7 +592,7 @@
- service: telegram_bot.send_message
data_template:
title: "Veganer Zufallsessensvorschlag: "
target: "{{ trigger.event.data.user_id }}"
target: "{{ trigger.event.data.chat_id }}"
message: >
**Rezept:** {{ states.sensor.chefkoch_vegan_recipe.state }}
Expand Down Expand Up @@ -894,7 +894,7 @@
entity_id: update.home_assistant_core_update
- service: telegram_bot.send_message
data_template:
target: "{{ trigger.event.data.user_id }}"
target: "{{ trigger.event.data.chat_id }}"
message: "HA Update gestartet."
- service: telegram_bot.edit_replymarkup
data_template:
Expand All @@ -916,7 +916,7 @@
entity_id: update.home_assistant_operating_system_update
- service: telegram_bot.send_message
data_template:
target: "{{ trigger.event.data.user_id }}"
target: "{{ trigger.event.data.chat_id }}"
message: "OS Update gestartet."
- service: telegram_bot.edit_replymarkup
data_template:
Expand All @@ -939,7 +939,7 @@
action:
- service: telegram_bot.send_message
data_template:
target: "{{ trigger.event.data.user_id }}"
target: "{{ trigger.event.data.chat_id }}"
disable_notification: true
message: >
Wettervorhersage für heute {{ states.weather.ebersberg_ebersberg.state }} bei {{ states.weather.ebersberg_ebersberg.attributes.temperature }} °C
Expand Down Expand Up @@ -975,7 +975,7 @@
- service: telegram_bot.send_message
data_template:
target: "{{ trigger.event.data.chat_id }}"
# target: "{{ trigger.event.data.user_id }}"
# target: "{{ trigger.event.data.chat_id }}"
message: "Kühlschrank im Keller wurde angeschaltet. Achtung: Wird hierüber NICHT ausgeschaltet!"

- id: turn_on_climates
Expand Down Expand Up @@ -1060,7 +1060,7 @@
action:
- service: telegram_bot.send_message
data_template:
target: "{{ trigger.event.data.user_id }}"
target: "{{ trigger.event.data.chat_id }}"
message: "Alle Google Homes werden Fabi/samuel über eine wichtige Nachricht bescheid geben."
- service: notify.mobile_app_samuel_iphone
data:
Expand Down Expand Up @@ -1173,7 +1173,7 @@
- service: telegram_bot.send_message
data_template:
target: "{{ trigger.event.data.chat_id }}"
# target: "{{ trigger.event.data.user_id }}"
# target: "{{ trigger.event.data.chat_id }}"
message: "Gartentor wurde geöffnet."
- choose:
- conditions:
Expand Down Expand Up @@ -1242,7 +1242,7 @@
- service: telegram_bot.send_message
data_template:
target: "{{ trigger.event.data.chat_id }}"
# target: "{{ trigger.event.data.user_id }}"
# target: "{{ trigger.event.data.chat_id }}"
message: "Klingel in Wohnung aktiviert. Gartentor wurde geöffnet."
- service: media_player.volume_set
data:
Expand Down

0 comments on commit dc20d30

Please sign in to comment.