This is my first post and I am enjoying setting up HA.
I have the following error that I can not find a solution to. It is reporting an error with platform yr.
Any help would be most appreciated.
16-07-05 19:15:17 homeassistant.components.sensor: Error while setting up platform yr
Traceback (most recent call last):
File "/home/mchinery/.local/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 98, in _setup_platform
discovery_info)
File "/home/mchinery/.local/lib/python3.5/site-packages/homeassistant/components/sensor/yr.py", line 74, in setup_platform
dev.append(YrSensor("symbol", weather))
File "/home/mchinery/.local/lib/python3.5/site-packages/homeassistant/components/sensor/yr.py", line 92, in __init__
self.update()
File "/home/mchinery/.local/lib/python3.5/site-packages/homeassistant/components/sensor/yr.py", line 135, in update
for time_entry in self._weather.data['product']['time']:
KeyError: 'product'
Looks like it s complaining about your config file - if you post it we might be able to help. Make sure you quote it as code to,preserve the indenting (there is a control on the editor tondo that for you)
Thanks for the reply. I have posted my config file. There are other errors regarding plex but I am not to worried about these at present.
I am in the process of setting up the mqtt link to smartthings and still have a few issues there but maybe that could be another post!
Any help much appreciated.
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 51.8639
longitude: -2.2009
# Impacts weather/sunrise data
elevation: 29
# C for Celsius, F for Fahrenheit
temperature_unit: C
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: Europe/London
# View all events in a logbook
logbook:
# Enables the frontend
frontend:
# Weather Prediction
sensor:
platform: yr
# Enables support for tracking state changes over time.
history:
# Allows you to issue voice commands from the frontend
conversation:
# Track the sun
sun:
# Show links to resources in log and frontend
introduction:
# Checks for available updates
updater:
# Example configuration.yaml entry
media_player:
- platform: cast
host: 192.168.1.69
- platform: plex
# Example configuration.yaml entry
discovery:
mqtt:
broker: 192.168.1.78
# Example configuration.yml entry
switch:
- platform: mqtt
name: "Living Room Lamp"
state_topic: "smartthings/Living Room Lamp/switch"
command_topic: "smartthings/Living Room Lamp/switch"
payload_on: "ON"
payload_off: "OFF"
retain: true
- platform: mqtt
name: "Listen To Kitchen Sonos"
state_topic: "smartthings/Listen To Kitchen Sonos/switch"
command_topic: "smartthings/Listen To Kitchen Sonos/switch"
payload_on: "ON"
payload_off: "OFF"
retain: true
# Example configuration.yml entry
binary_sensor:
platform: mqtt
state_topic: "smartthings/Kitchen Door Sensor/contact"
name: "Kitchen Door Sensor"
qos: 0
payload_on: "ON"
payload_off: "OFF"
sensor_class: opening
value_template: '{{ value.x }}'