This is a warzone integration for home assistant
This integration exposes a sensor for the current battle royal data from warzone.
This component will set up the following platforms.
Platform | Description |
---|---|
sensor |
Show warzone battle royal stats. |
Sensor | Description |
---|---|
sensor.warzone_cash |
Cash |
sensor.warzone_contracts |
Contracts |
sensor.warzone_deaths |
Deaths |
sensor.warzone_downs |
Downs |
sensor.warzone_gamesplayed |
Games Played |
sensor.warzone_kdratio |
Kill Death Ratio |
sensor.warzone_kills |
Kills |
sensor.warzone_level |
Current Season Level |
sensor.warzone_revives |
Revives |
sensor.warzone_score |
Score |
sensor.warzone_scoreperminute |
Score Per Minute |
sensor.warzone_timeplayed |
Time Played |
sensor.warzone_tokens |
Tokens |
sensor.warzone_topfive |
Top 5 |
sensor.warzone_topten |
Top 10 |
sensor.warzone_toptwentyfive |
Top 25 |
sensor.warzone_wins |
Wins |
- Go to "Configuration" -> "Integrations" click "+" and search for "Warzone".
- Username: The email address you would use to login to https://profile.callofduty.com/
- Password: The password you would use to login to https://profile.callofduty.com/
- Platform: The platform the profile is on
- Profile: The player profile stats you want to track
Please note the Username and password used to login does not have to be your main account. You can create a new account to access the api but then you have to either set the profile you want to track to public or add the user you are logging in from as a friend.
Thanks to https://github.com/EthanC/CallofDuty.py
Using this in lib because of python version mismatch. When home assistant runs on python 3.9 by default we can use this like normal.