mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Extend get_states (#15985)
This commit is contained in:
parent
a94b211d3e
commit
3e954eef02
@ -118,24 +118,40 @@ const FIXED_DOMAIN_ATTRIBUTE_STATES = {
|
||||
"window",
|
||||
],
|
||||
},
|
||||
device_tracker: {
|
||||
source_type: ["bluetooth", "bluetooth_le", "gps", "router"],
|
||||
},
|
||||
fan: {
|
||||
direction: ["forward", "reverse"],
|
||||
},
|
||||
humidifier: {
|
||||
device_class: ["humidifier", "dehumidifier"],
|
||||
},
|
||||
media_player: {
|
||||
device_class: ["tv", "speaker", "receiver"],
|
||||
media_content_type: [
|
||||
"album",
|
||||
"app",
|
||||
"artist",
|
||||
"channel",
|
||||
"channels",
|
||||
"composer",
|
||||
"contibuting_artist",
|
||||
"episode",
|
||||
"game",
|
||||
"genre",
|
||||
"image",
|
||||
"movie",
|
||||
"music",
|
||||
"playlist",
|
||||
"podcast",
|
||||
"season",
|
||||
"track",
|
||||
"tvshow",
|
||||
"url",
|
||||
"video",
|
||||
],
|
||||
repeat: ["off", "one", "all"],
|
||||
},
|
||||
number: {
|
||||
device_class: ["temperature"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user