Comments (4)
These errors seem to be related to a card you created.
from thewatchman.
Thanks I am using the card config from the readme. The missing services sensor reads 0 right now, is it just that the card config needs to handle when the sensor is 0?
type: vertical-stack
cards:
- type: markdown
content: >-
<h2> <ha-icon icon='mdi:shield-half-full'></ha-icon> Watchman report</h2>
<h3>Missing Entities: {{ states.sensor.watchman_missing_entities.state }}
</h3> {%- for item in state_attr("sensor.watchman_missing_entities",
"entities") %} <hr> <table><tr> <td> <ha-icon icon='mdi: {%- if
item.state=="missing"-%}cloud-alert' {%- elif item.state=="unavail"
-%}cloud-off-outline' {%- else-%}cloud-question' {%- endif -%} ></ha-icon>
{{ item.id }} [{{item.state}}] <a title="{{item.occurrences}}">
{{item.occurrences.split('/')[-1].split(':')[0]}}</a> </td></tr></table>
{%- endfor %}
- type: markdown
content: >-
<h2 class="some"> <ha-icon icon='mdi:shield-half-full'></ha-icon> Watchman
report</h2> <h3> Missing Services: {{
states.sensor.watchman_missing_services.state }} </h3> {%- for item in
state_attr("sensor.watchman_missing_services", "services") %}
<hr><table><tr> <td> <ha-icon icon='mdi:cloud-alert'></ha-icon> {{
item.id }} <a
title="{{item.occurrences}}">{{item.occurrences.split('/')[-1].split(':')[0]}}</a>
</td></tr></table> {%- endfor %}
from thewatchman.
In general, a code posted in Docs could be wrong/imperfect.
Suggest you to test a logic in Dev tools -> Template and add necessary changes.
from thewatchman.
Thanks. I figured it out. Will make a PR to update the readme.
from thewatchman.
Related Issues (20)
- Feature Request View full parsed configuration file HOT 2
- The documentation for the services markdown is wrong HOT 2
- Mistaken missing entity detection HOT 1
- can't add it to HA supervisor HOT 2
- icon: 'sfsymbols:switch.2' shows as unavailable entitiy switch.2
- Feature Request show helpers not used in any automation or lovelace HOT 6
- images not found HOT 8
- Feature Request: ignore disabled entities HOT 3
- Feature request: entity whitelist (inverse of ignore rule)
- parse_config does blocking I/O in the event loop HOT 1
- Failed to call service watchman.report. Unknown service parameter: ignored_items. HOT 1
- HomeAssistantType is a deprecated alias HOT 5
- Severe system hang when saving automations HOT 5
- Consider supported_features and example in services.yaml as valid HOT 4
- Warning since HA Update to 2024.5 HOT 2
- Support remote entities HOT 2
- Support person entities HOT 2
- How to avoid searching on files at /config/custom_components? HOT 2
- Detected blocking call to open inside the event loop HOT 33
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thewatchman.