Stole lines of code sensor -> https://github.com/CCOSTAN/Home-AssistantConfig/issues/729\#event-3367338556
This commit is contained in:
parent
2579bb56f9
commit
532ae21ecd
|
@ -1,6 +1,3 @@
|
|||
# Sensor to get Flu near you: https://www.home-assistant.io/integrations/flunearyou/
|
||||
- platform: flunearyou
|
||||
|
||||
# MQTT Sensor for Washing Machine Status.
|
||||
- platform: mqtt
|
||||
name: "Washer Status"
|
||||
|
@ -8,72 +5,72 @@
|
|||
|
||||
# MQTT Sensor for getting Various COVID-19 Stats. Data is sourced from pythonn scripts scaping
|
||||
# various COVID data sites running on a secondary machine.
|
||||
- platform: mqtt
|
||||
name: "COVID19 Confirmed"
|
||||
state_topic: "covid/sensor/confirmed"
|
||||
- platform: mqtt
|
||||
name: "COVID19 Recovered"
|
||||
state_topic: "covid/sensor/recovered"
|
||||
- platform: mqtt
|
||||
name: "COVID19 Dead"
|
||||
state_topic: "covid/sensor/dead"
|
||||
- platform: mqtt
|
||||
name: "COVID Old Confirmed"
|
||||
state_topic: "covid/sensor/old-confirmed"
|
||||
- platform: mqtt
|
||||
name: "COVID Old Dead"
|
||||
state_topic: "covid/sensor/old-dead"
|
||||
- platform: mqtt
|
||||
name: "COVID Old Recovered"
|
||||
state_topic: "covid/sensor/old-recovered"
|
||||
- platform: mqtt
|
||||
name: "COVID PV Confirmed"
|
||||
state_topic: "covid/sensor/previous_confirmed"
|
||||
- platform: mqtt
|
||||
name: "COVID PV Dead"
|
||||
state_topic: "covid/sensor/previous_dead"
|
||||
- platform: mqtt
|
||||
name: "COVID PV Recovered"
|
||||
state_topic: "covid/sensor/previous_recovered"
|
||||
- platform: mqtt
|
||||
name: "COVID PV New Cases"
|
||||
state_topic: "covid/sensor/previous_new_cases"
|
||||
- platform: mqtt
|
||||
name: "COVID PV New Dead"
|
||||
state_topic: "covid/sensor/previous_new_deaths"
|
||||
- platform: mqtt
|
||||
name: "COVID PV Active"
|
||||
state_topic: "covid/sensor/previous_active_cases"
|
||||
- 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_deaths"
|
||||
- platform: mqtt
|
||||
name: "COVID Current Confirmed"
|
||||
state_topic: "covid/sensor/current_confirmed"
|
||||
- platform: mqtt
|
||||
name: "COVID Current Dead"
|
||||
state_topic: "covid/sensor/current_dead"
|
||||
- platform: mqtt
|
||||
name: "COVID Current Recovered"
|
||||
state_topic: "covid/sensor/current_recovered"
|
||||
- platform: mqtt
|
||||
name: "COVID Current New Cases"
|
||||
state_topic: "covid/sensor/current_new_cases"
|
||||
- platform: mqtt
|
||||
name: "COVID Current New Dead"
|
||||
state_topic: "covid/sensor/current_new_deaths"
|
||||
- platform: mqtt
|
||||
name: "COVID Current Active"
|
||||
state_topic: "covid/sensor/current_active_cases"
|
||||
- platform: mqtt
|
||||
name: "COVID Current Critical"
|
||||
state_topic: "covid/sensor/current_critical_cases"
|
||||
# - platform: mqtt
|
||||
# name: "COVID19 Confirmed"
|
||||
# state_topic: "covid/sensor/confirmed"
|
||||
# - platform: mqtt
|
||||
# name: "COVID19 Recovered"
|
||||
# state_topic: "covid/sensor/recovered"
|
||||
# - platform: mqtt
|
||||
# name: "COVID19 Dead"
|
||||
# state_topic: "covid/sensor/dead"
|
||||
# - platform: mqtt
|
||||
# name: "COVID Old Confirmed"
|
||||
# state_topic: "covid/sensor/old-confirmed"
|
||||
# - platform: mqtt
|
||||
# name: "COVID Old Dead"
|
||||
# state_topic: "covid/sensor/old-dead"
|
||||
# - platform: mqtt
|
||||
# name: "COVID Old Recovered"
|
||||
# state_topic: "covid/sensor/old-recovered"
|
||||
# - platform: mqtt
|
||||
# name: "COVID PV Confirmed"
|
||||
# state_topic: "covid/sensor/previous_confirmed"
|
||||
# - platform: mqtt
|
||||
# name: "COVID PV Dead"
|
||||
# state_topic: "covid/sensor/previous_dead"
|
||||
# - platform: mqtt
|
||||
# name: "COVID PV Recovered"
|
||||
# state_topic: "covid/sensor/previous_recovered"
|
||||
# - platform: mqtt
|
||||
# name: "COVID PV New Cases"
|
||||
# state_topic: "covid/sensor/previous_new_cases"
|
||||
# - platform: mqtt
|
||||
# name: "COVID PV New Dead"
|
||||
# state_topic: "covid/sensor/previous_new_deaths"
|
||||
# - platform: mqtt
|
||||
# name: "COVID PV Active"
|
||||
# state_topic: "covid/sensor/previous_active_cases"
|
||||
# - 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_deaths"
|
||||
# - platform: mqtt
|
||||
# name: "COVID Current Confirmed"
|
||||
# state_topic: "covid/sensor/current_confirmed"
|
||||
# - platform: mqtt
|
||||
# name: "COVID Current Dead"
|
||||
# state_topic: "covid/sensor/current_dead"
|
||||
# - platform: mqtt
|
||||
# name: "COVID Current Recovered"
|
||||
# state_topic: "covid/sensor/current_recovered"
|
||||
# - platform: mqtt
|
||||
# name: "COVID Current New Cases"
|
||||
# state_topic: "covid/sensor/current_new_cases"
|
||||
# - platform: mqtt
|
||||
# name: "COVID Current New Dead"
|
||||
# state_topic: "covid/sensor/current_new_deaths"
|
||||
# - platform: mqtt
|
||||
# name: "COVID Current Active"
|
||||
# state_topic: "covid/sensor/current_active_cases"
|
||||
# - platform: mqtt
|
||||
# name: "COVID Current Critical"
|
||||
# state_topic: "covid/sensor/current_critical_cases"
|
||||
- platform: history_stats
|
||||
name: Jeff Driving Time
|
||||
entity_id: sensor.jeff_driving
|
||||
|
@ -220,41 +217,41 @@
|
|||
- battery_level
|
||||
- captured_today
|
||||
- signal_strength
|
||||
- platform: statistics
|
||||
name: covid confirmed
|
||||
entity_id: sensor.us_coronavirus_confirmed
|
||||
max_age:
|
||||
hours: 24
|
||||
- platform: statistics
|
||||
name: covid current
|
||||
entity_id: sensor.us_coronavirus_current
|
||||
max_age:
|
||||
hours: 24
|
||||
- platform: statistics
|
||||
name: covid deaths
|
||||
entity_id: sensor.us_coronavirus_deaths
|
||||
max_age:
|
||||
hours: 24
|
||||
- platform: statistics
|
||||
name: covid recovered
|
||||
entity_id: sensor.us_coronavirus_recovered
|
||||
max_age:
|
||||
hours: 24
|
||||
- platform: statistics
|
||||
name: covid19 confirmed stats
|
||||
entity_id: sensor.covid19_confirmed
|
||||
max_age:
|
||||
hours: 24
|
||||
- platform: statistics
|
||||
name: covid19 deaths stats
|
||||
entity_id: sensor.covid19_dead
|
||||
max_age:
|
||||
hours: 24
|
||||
- platform: statistics
|
||||
name: covid19 recovered stats
|
||||
entity_id: sensor.covid19_recovered
|
||||
max_age:
|
||||
hours: 24
|
||||
# - platform: statistics
|
||||
# name: covid confirmed
|
||||
# entity_id: sensor.us_coronavirus_confirmed
|
||||
# max_age:
|
||||
# hours: 24
|
||||
# - platform: statistics
|
||||
# name: covid current
|
||||
# entity_id: sensor.us_coronavirus_current
|
||||
# max_age:
|
||||
# hours: 24
|
||||
# - platform: statistics
|
||||
# name: covid deaths
|
||||
# entity_id: sensor.us_coronavirus_deaths
|
||||
# max_age:
|
||||
# hours: 24
|
||||
# - platform: statistics
|
||||
# name: covid recovered
|
||||
# entity_id: sensor.us_coronavirus_recovered
|
||||
# max_age:
|
||||
# hours: 24
|
||||
# - platform: statistics
|
||||
# name: covid19 confirmed stats
|
||||
# entity_id: sensor.covid19_confirmed
|
||||
# max_age:
|
||||
# hours: 24
|
||||
# - platform: statistics
|
||||
# name: covid19 deaths stats
|
||||
# entity_id: sensor.covid19_dead
|
||||
# max_age:
|
||||
# hours: 24
|
||||
# - platform: statistics
|
||||
# name: covid19 recovered stats
|
||||
# entity_id: sensor.covid19_recovered
|
||||
# max_age:
|
||||
# hours: 24
|
||||
- platform: template
|
||||
sensors:
|
||||
sensor_count:
|
||||
|
|
Loading…
Reference in New Issue