card ok but no data
Closed this issue · 5 comments
type: custom:fkf-garbage-collection-card
card_mod:
style: |
ha-card {
background: lightgrey;
box-shadow: none;
color: red
}
entity: sensor.fkf_my_schedule
title: Kuka
icon_size: 35px
working…..took about an hour to appear…..
Not clear how it should work. When I check the config, it says everything is ok. Now there is nothing on the card (no data). The garbage was collected today (both). It says in the descreption that no housenumber or street name is needed for Budaors but if I dont put it, it gives an error code. This is the sensor config:
- platform: fkf_garbage_collection
name: 'fkf_my_schedule'
publicplace: "Tavasz"
zipcode: '2040'
housenr: '1'
the card config is already above.
So the minimal sensor definition should be:
(ha_venv3_9) pi@raspberrypi:~/homeassistant_test/sensors $grep -v "^#" fkf_budaors.yaml
platform: fkf_garbage_collection
name: 'fkf_budaors'
publicplace: 'Tavasz utca'
city: 'Budaörs'
(ha_venv3_9) pi@raspberrypi:~/homeassistant_test/sensors $
But you gave me an idea to get rid of the new city
parameter and identify Budaörs per zipcode.
Joy and happyness! Thanks :)