Skip to content

Appdaemon widget for displaying homeassistant weather entities in dashboards

License

Notifications You must be signed in to change notification settings

johnsmithmad/appdaemon_weatherentity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Base weather widget for appdaemon homeassistant dashboards.

Based on the appdaemon weather official widget, this extends it by allowing to get weather from a weather entity in addition to sensors. This avoids having to declare sensors, often specifics to each provider, and use directly the homeassistant weather entity. This makes the feature more generic (currently tested with openweathermap).

In addition, this version also adds the feature to display up to 4 days/hours of forecast. This is fully compliant with the official base widget, so any working configuration will also work with this widget.

Note: For 2x2 widget, only 1 forecast should be used with a 120x120 widget. Up to for can be used in 3x2.

3x2 widget with 4 forecasts

2x2 widget with 1 forecasts

Configuration

The configuration is almost identical to the official daemon, with the following differences:

  • entity: Can be specified in place of entities to use a weather entities instead of a sensor list
  • show_forecast can be set to the number of forecasts to displqy (up to 4, 0 = no forecast)

Example configuration

openweathermap:
  title: Now
  widget_type: weatherentity
  entity: weather.openweathermap
  show_forecast: 4
  prefer_icons: 1
  # Units as configured in homeassistant
  units: "°C"
  wind_unit: "km/h"
  pressure_unit: "hPa"
  rain_unit: "%"

layout:
    - label(2x2),openweathermap(3x2)

About

Appdaemon widget for displaying homeassistant weather entities in dashboards

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 46.7%
  • JavaScript 41.6%
  • CSS 11.7%