mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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",
|
"window",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
device_tracker: {
|
||||||
|
source_type: ["bluetooth", "bluetooth_le", "gps", "router"],
|
||||||
|
},
|
||||||
|
fan: {
|
||||||
|
direction: ["forward", "reverse"],
|
||||||
|
},
|
||||||
humidifier: {
|
humidifier: {
|
||||||
device_class: ["humidifier", "dehumidifier"],
|
device_class: ["humidifier", "dehumidifier"],
|
||||||
},
|
},
|
||||||
media_player: {
|
media_player: {
|
||||||
device_class: ["tv", "speaker", "receiver"],
|
device_class: ["tv", "speaker", "receiver"],
|
||||||
media_content_type: [
|
media_content_type: [
|
||||||
|
"album",
|
||||||
"app",
|
"app",
|
||||||
|
"artist",
|
||||||
"channel",
|
"channel",
|
||||||
|
"channels",
|
||||||
|
"composer",
|
||||||
|
"contibuting_artist",
|
||||||
"episode",
|
"episode",
|
||||||
"game",
|
"game",
|
||||||
|
"genre",
|
||||||
"image",
|
"image",
|
||||||
"movie",
|
"movie",
|
||||||
"music",
|
"music",
|
||||||
"playlist",
|
"playlist",
|
||||||
|
"podcast",
|
||||||
|
"season",
|
||||||
|
"track",
|
||||||
"tvshow",
|
"tvshow",
|
||||||
"url",
|
"url",
|
||||||
"video",
|
"video",
|
||||||
],
|
],
|
||||||
|
repeat: ["off", "one", "all"],
|
||||||
},
|
},
|
||||||
number: {
|
number: {
|
||||||
device_class: ["temperature"],
|
device_class: ["temperature"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user