Commit graph

12 commits

Author SHA1 Message Date
Jan Bouwhuis
d44db6ee68
Use shorthand attrs for xbox base_sensor (#100290) 2023-09-13 15:10:35 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Franck Nijhof
fcb612cd6f
Collection of code styling tweaks (#87344) 2023-02-03 23:51:27 +01:00
epenet
da133a7f05
Remove xbox from mypy ignore list (#74504) 2022-07-09 23:09:15 +02:00
Marc Mueller
129c9e42f1
Update coordinator typing (7) [w-z] (#68467) 2022-03-21 15:29:11 +01:00
Ville Skyttä
39691faccc
Use DeviceEntryType in non-typechecked code too (#58646) 2021-11-23 10:04:33 +01:00
epenet
638bd743a5
Use DeviceInfo in xbox (#58640) 2021-10-29 00:37:20 +02:00
Johan Josua Storm
9b13350b01
Replace wrong domain returned from xbox api revisited (#51074)
* Added replacement http to https

Somehow the fix of replacing the domain doesn't work on android, so explicit replacement of http to https protocol is needed.

* Update homeassistant/components/xbox/base_sensor.py

Co-authored-by: Jason Hunter <hunterjm@gmail.com>

Co-authored-by: Jason Hunter <hunterjm@gmail.com>
2021-05-26 02:01:35 -04:00
Michael
9eecd90afc
Add constructor return type in integrations T-Z (#50899) 2021-05-20 17:00:19 +02:00
Marc Mueller
dcca29ef68
Update typing 14 (#48078) 2021-03-18 15:08:35 +01:00
Johan Josua Storm
5bba532dd4
Replace wrong domain returned from xbox api 2.0 (#47021)
* Change solution to use yarl lib

* Add check if base url needs changing

* Actively remove padding query instead of omitting

* Fixed popping the wrong query

* Change explaination about removing mode query
2021-02-25 09:38:45 -05:00
Jason Hunter
c10fe4f723
Add sensors to Xbox integration (#41868)
* favorited friends binary sensors

* add binary_sensor to .coveragerc

* fix copy/paste comments...

* make sensor entities instead of attributes

* address PR review comments

* default state to None
2020-10-15 19:11:05 -04:00