From 49a8a8b0cbea392174369c870dea6600ad54a495 Mon Sep 17 00:00:00 2001 From: elmurato <1382097+elmurato@users.noreply.github.com> Date: Wed, 26 Mar 2025 00:11:36 +0000 Subject: [PATCH 1/3] Add sensor platform to Pterodactyl docs --- source/_integrations/pterodactyl.markdown | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source/_integrations/pterodactyl.markdown b/source/_integrations/pterodactyl.markdown index 61b299daaaa..0983899035b 100644 --- a/source/_integrations/pterodactyl.markdown +++ b/source/_integrations/pterodactyl.markdown @@ -4,6 +4,7 @@ description: Instructions on how to integrate a Pterodactyl server into Home Ass ha_release: 2025.4 ha_category: - Binary sensor + - Sensor ha_iot_class: Local Polling ha_config_flow: true ha_codeowners: @@ -11,6 +12,7 @@ ha_codeowners: ha_domain: pterodactyl ha_platforms: - binary_sensor + - sensor ha_integration_type: integration ha_quality_scale: bronze --- @@ -51,6 +53,20 @@ This integration provides a binary sensor with the following information for eac - Status: `Running` or `Not running` +## Sensors + +This integration provides sensors with the following information for each game server of your Pterodactyl server: + +- CPU utilization + - Including the CPU limit in the state attributes +- Memory utilization + - Including the memory usage and limit in the state attributes +- Disk utilization + - Including the disk usage and limit in the state attributes +- Network inbound +- Network outbound +- Uptime + ## Removing the integration This integration follows standard integration removal. No extra steps are required. From 5051b3d6496eb45ca32d31a1ba69626158ff5e82 Mon Sep 17 00:00:00 2001 From: elmurato <1382097+elmurato@users.noreply.github.com> Date: Wed, 26 Mar 2025 18:55:34 +0000 Subject: [PATCH 2/3] Update sensor entitiy list --- Gemfile.lock | 7 +++---- source/_integrations/pterodactyl.markdown | 15 +++++++++------ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index b81e9ca59e0..7754e20af7a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -141,10 +141,9 @@ GEM ruby2_keywords (0.0.5) safe_yaml (1.0.5) sass (3.4.25) - sass-embedded (1.86.0-arm64-darwin) - google-protobuf (~> 4.30) - sass-embedded (1.86.0-x86_64-linux-gnu) + sass-embedded (1.86.0) google-protobuf (~> 4.30) + rake (>= 13) sass-globbing (1.1.5) sass (>= 3.1) sassc (2.1.0) @@ -198,4 +197,4 @@ RUBY VERSION ruby 2.6.2p47 BUNDLED WITH - 2.5.3 \ No newline at end of file + 2.5.3 diff --git a/source/_integrations/pterodactyl.markdown b/source/_integrations/pterodactyl.markdown index 0983899035b..3487a8c12b8 100644 --- a/source/_integrations/pterodactyl.markdown +++ b/source/_integrations/pterodactyl.markdown @@ -58,14 +58,17 @@ This integration provides a binary sensor with the following information for eac This integration provides sensors with the following information for each game server of your Pterodactyl server: - CPU utilization - - Including the CPU limit in the state attributes -- Memory utilization - - Including the memory usage and limit in the state attributes -- Disk utilization - - Including the disk usage and limit in the state attributes +- Memory usage +- Disk usage +- Uptime + +The following sensors are provided as well, but disabled by default: + +- CPU limit +- Memory limit +- Disk limit - Network inbound - Network outbound -- Uptime ## Removing the integration From a0aa98a7a038b6a12fb3faa8e9809b64bb1a1fdf Mon Sep 17 00:00:00 2001 From: elmurato <1382097+elmurato@users.noreply.github.com> Date: Mon, 31 Mar 2025 11:30:01 +0000 Subject: [PATCH 3/3] Revert Gemfile.lock changes --- Gemfile.lock | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 7754e20af7a..b81e9ca59e0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -141,9 +141,10 @@ GEM ruby2_keywords (0.0.5) safe_yaml (1.0.5) sass (3.4.25) - sass-embedded (1.86.0) + sass-embedded (1.86.0-arm64-darwin) + google-protobuf (~> 4.30) + sass-embedded (1.86.0-x86_64-linux-gnu) google-protobuf (~> 4.30) - rake (>= 13) sass-globbing (1.1.5) sass (>= 3.1) sassc (2.1.0) @@ -197,4 +198,4 @@ RUBY VERSION ruby 2.6.2p47 BUNDLED WITH - 2.5.3 + 2.5.3 \ No newline at end of file