From bc0b5acbadb84d5bcfb1b13700c4c7dfa8e68e2f Mon Sep 17 00:00:00 2001 From: Steffen Rusitschka Date: Sun, 5 Jan 2025 14:25:05 +0100 Subject: [PATCH 1/5] Document zabbix include_strings config --- source/_integrations/zabbix.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_integrations/zabbix.markdown b/source/_integrations/zabbix.markdown index 2cd7e7e8c166..da7e27c33bdd 100644 --- a/source/_integrations/zabbix.markdown +++ b/source/_integrations/zabbix.markdown @@ -62,6 +62,11 @@ publish_states_host: description: The host that will receive the state changes from Home Assistant. It needs to be manually created in Zabbix first and have the template associated with it (see above). required: false type: string +include_strings: + description: Also publish string states, i.e. states which cannot be cast to a numeric value. + required: false + type: boolean + default: false exclude: type: list description: Configure which integrations should be excluded from being published to Zabbix. ([Configure Filter](#configure-filter)) From d938594161220a0ec91c7e5810242282a70bf871 Mon Sep 17 00:00:00 2001 From: Steffen Rusitschka Date: Sun, 5 Jan 2025 14:34:35 +0100 Subject: [PATCH 2/5] Add PR reference and full config. --- source/_integrations/zabbix.markdown | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/_integrations/zabbix.markdown b/source/_integrations/zabbix.markdown index da7e27c33bdd..574c50197377 100644 --- a/source/_integrations/zabbix.markdown +++ b/source/_integrations/zabbix.markdown @@ -63,7 +63,9 @@ publish_states_host: required: false type: string include_strings: - description: Also publish string states, i.e. states which cannot be cast to a numeric value. + description: >- + Also publish string states, i.e. states which cannot be cast to a numeric value. + Introduced in Home Assistant Core PR #134773. required: false type: boolean default: false @@ -114,6 +116,7 @@ zabbix: username: USERNAME password: PASSWORD publish_states_host: homeassistant + include_strings: true exclude: domains: - device_tracker From 07b9bd6f59d1fbae4d9e0eba8dc09fada351f089 Mon Sep 17 00:00:00 2001 From: Steffen Rusitschka Date: Sun, 5 Jan 2025 14:51:30 +0100 Subject: [PATCH 3/5] Remove PR reference --- source/_integrations/zabbix.markdown | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/_integrations/zabbix.markdown b/source/_integrations/zabbix.markdown index 574c50197377..326944c30c38 100644 --- a/source/_integrations/zabbix.markdown +++ b/source/_integrations/zabbix.markdown @@ -63,9 +63,7 @@ publish_states_host: required: false type: string include_strings: - description: >- - Also publish string states, i.e. states which cannot be cast to a numeric value. - Introduced in Home Assistant Core PR #134773. + description: Also publish string states, i.e. states which cannot be cast to a numeric value. required: false type: boolean default: false From 2020a7eccf51f8c15c110809313af3bf26814582 Mon Sep 17 00:00:00 2001 From: Steffen Rusitschka Date: Sun, 5 Jan 2025 15:00:10 +0100 Subject: [PATCH 4/5] fix indent --- source/_integrations/zabbix.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/zabbix.markdown b/source/_integrations/zabbix.markdown index 326944c30c38..1319f6369b6e 100644 --- a/source/_integrations/zabbix.markdown +++ b/source/_integrations/zabbix.markdown @@ -63,7 +63,7 @@ publish_states_host: required: false type: string include_strings: - description: Also publish string states, i.e. states which cannot be cast to a numeric value. + description: Also publish string states, i.e. states which cannot be cast to a numeric value. required: false type: boolean default: false From 7ace52fa43a8afca00c7f1b1cca01da93e7d387f Mon Sep 17 00:00:00 2001 From: Steffen Rusitschka Date: Thu, 26 Jun 2025 19:41:07 +0200 Subject: [PATCH 5/5] Rename include_string config to publish_string_states --- source/_integrations/zabbix.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/zabbix.markdown b/source/_integrations/zabbix.markdown index 1319f6369b6e..503e0458c880 100644 --- a/source/_integrations/zabbix.markdown +++ b/source/_integrations/zabbix.markdown @@ -62,7 +62,7 @@ publish_states_host: description: The host that will receive the state changes from Home Assistant. It needs to be manually created in Zabbix first and have the template associated with it (see above). required: false type: string -include_strings: +publish_string_states: description: Also publish string states, i.e. states which cannot be cast to a numeric value. required: false type: boolean @@ -114,7 +114,7 @@ zabbix: username: USERNAME password: PASSWORD publish_states_host: homeassistant - include_strings: true + publish_string_states: true exclude: domains: - device_tracker