home-assistant / devices

Collection of devices
https://home-assistant.github.io/devices/
5 stars 13 forks source link

Add my devices #25

Closed golles closed 2 weeks ago

golles commented 2 weeks ago

Sharing my devices with the repo (thanks for the devcontainer!)

The following devices couldn't be added:

integration,manufacturer,model,sw_version,hw_version,via_device,has_suggested_area,has_configuration_url,entry_type,is_via_device
jellyfin,"Jellyfin","Jellyfin for WebOS","10.8.13","None","eyJzd192ZXJzaW9uIjpudWxsLCJod192ZXJzaW9uIjpudWxsLCJpbnRlZ3JhdGlvbiI6ImplbGx5ZmluIiwibW9kZWwiOm51bGwsIm1hbnVmYWN0dXJlciI6IkplbGx5ZmluIn0=",False,False,None,False
jellyfin,"Jellyfin","Finamp","0.6.20","None","eyJzd192ZXJzaW9uIjpudWxsLCJod192ZXJzaW9uIjpudWxsLCJpbnRlZ3JhdGlvbiI6ImplbGx5ZmluIiwibW9kZWwiOm51bGwsIm1hbnVmYWN0dXJlciI6IkplbGx5ZmluIn0=",False,False,None,False
jellyfin,"Jellyfin","Finamp","0.9.6","None","eyJzd192ZXJzaW9uIjpudWxsLCJod192ZXJzaW9uIjpudWxsLCJpbnRlZ3JhdGlvbiI6ImplbGx5ZmluIiwibW9kZWwiOm51bGwsIm1hbnVmYWN0dXJlciI6IkplbGx5ZmluIn0=",False,False,None,False

Due to

$ ./script/process.py 
/workspaces/devices/to_process/my_devices.csv: Invalid row: expected str for dictionary value @ data['via_device']['model']
{'entry_type': 'None',
 'has_configuration_url': 'False',
 'has_suggested_area': 'False',
 'hw_version': 'None',
 'integration': 'jellyfin',
 'is_via_device': 'False',
 'manufacturer': 'Jellyfin',
 'model': 'Jellyfin for WebOS',
 'sw_version': '10.8.13',
 'via_device': 'eyJzd192ZXJzaW9uIjpudWxsLCJod192ZXJzaW9uIjpudWxsLCJpbnRlZ3JhdGlvbiI6ImplbGx5ZmluIiwibW9kZWwiOm51bGwsIm1hbnVmYWN0dXJlciI6IkplbGx5ZmluIn0='}
Error; expected str for dictionary value @ data['via_device']['model']

Which has been reported in #18

Which is probably a null problem, as it decodes fine

{"sw_version":null,"hw_version":null,"integration":"jellyfin","model":null,"manufacturer":"Jellyfin"}