Skip to content

Instantly share code, notes, and snippets.

@theundefined
Created February 10, 2020 17:14
Show Gist options
  • Save theundefined/1e85ab07ea5318e3085a4db8b45557b6 to your computer and use it in GitHub Desktop.
Save theundefined/1e85ab07ea5318e3085a4db8b45557b6 to your computer and use it in GitHub Desktop.
- platform: template
sensors:
gios_944_pm25:
friendly_name: "GIOS Dąbrowskiego PM2.5"
value_template: "{{ state_attr('air_quality.gios_dabrowskiego', 'particulate_matter_2_5') |float }}"
unit_of_measurement: 'µg/m³'
gios_944_pm10:
friendly_name: "GIOS Dąbrowskiego PM10"
value_template: "{{ state_attr('air_quality.gios_dabrowskiego', 'particulate_matter_10') |float }}"
unit_of_measurement: 'µg/m³'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment