Extend get_states (#15985)

This commit is contained in:
Franck Nijhof 2023-03-31 15:29:24 +02:00 committed by GitHub
parent a94b211d3e
commit 3e954eef02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"],