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, 2023
1 parent c1edb13 commit a1e657b
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions automation/automations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -394,16 +394,6 @@
target: !secret telegram_chat_samuel
inline_keyboard:
- "Erledigt:/telegramwastedone"
- service: telegram_bot.send_message
data_template:
message: >
Morgen wird {% if states.sensor.bioabfall.state == "Morgen" %}die Biomülltonne{% endif %}{% if states.sensor.altpapier.state == "Morgen" %}das Altpapier{% endif %} abgeholt. Bitte rausstellen.
target: !secret telegram_chat_kai
- service: telegram_bot.send_message
data_template:
message: >
Morgen wird {% if states.sensor.bioabfall.state == "Morgen" %}die Biomülltonne{% endif %}{% if states.sensor.altpapier.state == "Morgen" %}das Altpapier{% endif %} abgeholt. Bitte rausstellen.
target: !secret telegram_chat_adrian
- choose:
- conditions:
- condition: template
Expand Down Expand Up @@ -5733,6 +5723,22 @@
target: !secret telegram_chat_samuel
inline_keyboard:
- "Erledigt:/telegramwastedone"
- choose:
- conditions:
- condition: state
entity_id: sensor.altpapier
state: "Morgen"
sequence:
- service: telegram_bot.send_message
data_template:
message: >
Morgen wird das Altpapier abgeholt. Bitte rausstellen.
target: !secret telegram_chat_kai
- service: telegram_bot.send_message
data_template:
message: >
Morgen wird das Altpapier abgeholt. Bitte rausstellen.
target: !secret telegram_chat_adrian

- id: foodsharing_basket_available
alias: "Foodsharing Basket Available"
Expand Down Expand Up @@ -6562,13 +6568,15 @@
{%- set product_list_loop = state_attr('sensor.rewe_440421', 'discounts') -%}
{%- for product in product_list_loop -%}
{% if 'Spezi' in product.product or 'Hell' in product.product or 'Chips' in product.product or 'Silenca' in product.product or 'Oettinger' in product.product %}
{% if 'Spezi' in product.product or 'Hell' in product.product or 'Chips' in product.product or 'Silenca' in product.product or 'Oettinger' in product.product %}
{{product.price.price }} € - {{product.product }}
{{ product.picture_link }}
{%- endif -%}
{%- endfor -%}
---
#Angebote
Expand Down

0 comments on commit a1e657b

Please sign in to comment.