custom-ui
custom-ui copied to clipboard
Met Office service not working
Using the UK Met Office as a weather service seems not to work correctly. There are two integrations in HA for Met Office, one as a Weather service and the other is a Sensor. Only the Weather service works and to use it the entity is as below:
- type: custom:weather-card entity: weather.met_office_guildford name: Weather
Don't know where the "guildford" component comes from but that is the nearest town so that may be generated by the Met Office api as it requires to know location for registration. The entity was determined by looking at lovelace unused entities.
The displayed card is missing a lot of the data which I'm not sure how to fix or what I need to do to understand what the card requires.
Ignore sun rise and set times as this screen capture is from a different time zone to that set in HA.
The other version of the Met Office service is to use the Sensor binding which shows nothing on the card but does not throw an error.
- type: custom:weather-card entity: sensor.met_office_weather name: Weather
Any suggestions welcome.
Please share the entity info from /dev-state
Most likely Met Office doesn't supply a forecast and the other info. Use another weather platform or ask the maintainer of Met Office to add this info.
bramkragten. Sorry don't have any idea what '/dev-state' is or where I would find it. Running HASSIO on a R-Pi. Only a Windows person really but brought up on CLI and DOS.
http://your-home-assistant:8123/dev-state
Or:

OK, think I know what you mean but using Dark-Sky at present and it works as expected. Thanks for the work that goes into this. I'll try with the Met Office service again when home and pull the data from Developer area States tab and copy the data here.
Sorry, me being a bit dense. Long day and now late in this part of the world. May not get time to pull this data until after the weekend.
The Met Office entity info from /dev-state:

I note that if I look t the Met Office web site these parameters are incorrect, for instance it says the temp is 2deg for the location given!