Skip to content

Commit

Permalink
Fix icon for sensor.discogs_random_record (#21891)
Browse files Browse the repository at this point in the history
* Fix icon for sensor.discogs_random_record

* Add myself to CODEOWNERS for Discogs code
  • Loading branch information
thibmaek authored and fabaff committed Mar 10, 2019
1 parent 05333f6 commit 6456f71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ homeassistant/components/sensor/bitcoin.py @fabaff
homeassistant/components/sensor/cpuspeed.py @fabaff
homeassistant/components/sensor/cups.py @fabaff
homeassistant/components/sensor/darksky.py @fabaff
homeassistant/components/sensor/discogs.py @thibmaek
homeassistant/components/sensor/file.py @fabaff
homeassistant/components/sensor/filter.py @dgomes
homeassistant/components/sensor/fixer.py @fabaff
Expand Down
10 changes: 5 additions & 5 deletions homeassistant/components/sensor/discogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@
SENSORS = {
SENSOR_COLLECTION_TYPE: {
'name': 'Collection',
'icon': 'mdi:album',
'unit_of_measurement': 'records'
'icon': ICON_RECORD,
'unit_of_measurement': UNIT_RECORDS
},
SENSOR_WANTLIST_TYPE: {
'name': 'Wantlist',
'icon': 'mdi:album',
'unit_of_measurement': 'records'
'icon': ICON_RECORD,
'unit_of_measurement': UNIT_RECORDS
},
SENSOR_RANDOM_RECORD_TYPE: {
'name': 'Random Record',
'icon': 'mdi:record_player',
'icon': ICON_PLAYER,
'unit_of_measurement': None
},
}
Expand Down

0 comments on commit 6456f71

Please sign in to comment.