FKF Budapest Garbage Collection schedule

Newest version [1] of the component supports green garbage collection schedule.
Next time you may open a feature request at [2].

[1] https://github.com/amaximus/fkf-garbage-collection/releases/tag/0.3.0
[2] https://github.com/amaximus/fkf-garbage-collection/issues

1 Like

Awesome, thank you!
FeatReq: wasn’t sure you’re accepting them - but yeah, sure thing.

I’m accepting FRs, however I’m not saying that I will implement all of them.

Hello!

Most én is bele ütköztem egy kis bajba! Erre van valami ötlet esetleg?

2021-11-03 23:51:42 ERROR (MainThread) [homeassistant.components.sensor] Error adding entities for domain sensor with platform fkf_garbage_collection
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 607, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 486, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 538, in _async_write_ha_state
    if (icon := (entry and entry.icon) or self.icon) is not None:
  File "/config/custom_components/fkf_garbage_collection/sensor.py", line 371, in icon
    if self._fkfdata[0]['garbage'] == "communal":
IndexError: list index out of range
2021-11-03 23:51:42 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up fkf_garbage_collection platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 257, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 607, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 486, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 538, in _async_write_ha_state
    if (icon := (entry and entry.icon) or self.icon) is not None:
  File "/config/custom_components/fkf_garbage_collection/sensor.py", line 371, in icon
    if self._fkfdata[0]['garbage'] == "communal":
IndexError: list index out of range
2021-11-03 23:51:42 ERROR (MainThread) [homeassistant.components.calendar] fkf_garbage_collection: Error on device update!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 431, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 651, in async_device_update
    await task
  File "/config/custom_components/fkf_garbage_collection/calendar.py", line 45, in async_update
    await self.hass.data[DOMAIN][CALENDAR_PLATFORM].async_update()
  File "/config/custom_components/fkf_garbage_collection/calendar.py", line 160, in async_update
    attributes = self._hass.states.get(entity).attributes
AttributeError: 'NoneType' object has no attribute 'attributes'

Előre is köszönöm! :slight_smile:
Üdv.: Norbi

Szia,

jó lenne az alábbi helyen nyitni egy bug reportot beleírva, hogy milyen HA verziót használsz és megadva a szenzor konfigurációt.

köszi.

A javítást elvégeztem, de kellene a szenzor konfigurációd, hogy tudjam tesztelni. Érvényes adatokkal rendben van.
Köszi.

Szia,

Gratulálok a projekthez!
Kezdő vagyok, de a leírások alapján sikerült beállítanom. A fkf-garbage-collection-card is működik Home assistantban.
Ezt szeretném megjeleníteni az appdaemonban is, de sehogy sem jutok dűlőre vele. Tudnál segíteni miket kellene beállítanom?
Előre is köszönöm!
PoPe

Szia PoPe,

sajnos nem használom és nem ismerem az appdaemont, úgy hogy nem tudok ebben segíteni. Az csak egy plussz hibaforrás, én meg csak próbálom minél kevesebb dependeciával futtatni a rendszerem, így az automatizációkat alap yaml-ban tartom HAn belül.
Üdv.

Szia,
Nagyon köszönöm! További sikeres munkát!
Üdv: PoPe

Szia!
Gratula a projekthez!
A zöld hulladék elszállítás valamilyen hiba folytán nem jelenik meg, hiába konfigoltam, vagy nem is fog március 1 előtt, hiába látom a többit előrébb már?
Köszi!

Március 1 elött nem fog megjelenni. Továbbá ha az FKF nem teszi közzé akkor ugyancsak nem fog megjelenni.

És milyen platformon kell közzé tenniük?

A weboldalukon már közzétették (pl. a XXII.kerületé):
https://www.fkf.hu/kerti-zoldhulladek-korzetek-xxii-kerulet

@amaximus it seems like a recent update broke this integration for me, have you heard the same from others?

Platform error sensor.fkf_garbage_collection - Exception importing custom_components.fkf_garbage_collection.sensor

This error shows up each time when I run the YAML check in order to reboot HA.

Home Assistant 2023.6.3
Supervisor 2023.06.4
Operating System 10.3
Frontend 20230608.0 - latest

@tbandras would it be possible to include the whole exception/stack trace?