mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-17 11:36:44 +00:00
Replaced the weekday package with a single sensor
This commit is contained in:
@@ -47,6 +47,12 @@
|
||||
- platform: mqtt
|
||||
name: "COVID PV Critical"
|
||||
state_topic: "covid/sensor/previous_critical_cases"
|
||||
- platform: mqtt
|
||||
name: "COVID Old New Count"
|
||||
state_topic: "covid/sensor/old_new_cases"
|
||||
- platform: mqtt
|
||||
name: "COVID Old Dead Count"
|
||||
state_topic: "covid/sensor/old_new_dead"
|
||||
- platform: mqtt
|
||||
name: "COVID Current Confirmed"
|
||||
state_topic: "covid/sensor/current_confirmed"
|
||||
@@ -289,5 +295,7 @@
|
||||
hvac_action:
|
||||
friendly_name: 'HVAC Action'
|
||||
value_template: "{{states.climate.home.attributes.hvac_action}}"
|
||||
|
||||
today_is:
|
||||
friendly_name: 'Today is'
|
||||
value_template: "{{ ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'][now().weekday()] }}"
|
||||
|
||||
|
Reference in New Issue
Block a user