From 88fccaffaddbc71e1c555410b330bfc37eb80137 Mon Sep 17 00:00:00 2001 From: Sander Jochems Date: Mon, 14 Feb 2022 21:09:34 +0100 Subject: [PATCH] Documentation for the FiveM integration (#21365) Co-authored-by: Franck Nijhof --- source/_integrations/fivem.markdown | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 source/_integrations/fivem.markdown diff --git a/source/_integrations/fivem.markdown b/source/_integrations/fivem.markdown new file mode 100644 index 00000000000..3d30fc09f69 --- /dev/null +++ b/source/_integrations/fivem.markdown @@ -0,0 +1,35 @@ +--- +title: FiveM +description: Instructions on how to integrate a FiveM server into Home Assistant. +ha_release: 2022.3 +ha_category: + - Binary Sensor + - Sensor +ha_iot_class: Local Polling +ha_quality_scale: silver +ha_config_flow: true +ha_codeowners: + - '@Sander0542' +ha_domain: fivem +ha_platforms: + - binary_sensor + - sensor +--- + +FiveM allows players to play the game [Grand Theft Auto V](https://www.rockstargames.com/V) by [Rockstar Games](https://www.rockstargames.com) online with other players. FiveM adds support for custom resources. The FiveM integration lets you retrieve information from a FiveM server within Home Assistant. + +{% include integrations/config_flow.md %} + +## Binary sensors + +This integration provides a binary sensor for the following information from a FiveM server: + +- Connection status + +## Sensors + +This integration provides sensors for the following information from a FiveM server: + +- Number of online players (player names are available in state attributes) +- Number of maximum players +- Number of resources (resource names are available in state attributes)