Comments (5)
Hi,
I would love to contribute in this issue (as my first contribution ever ;) ). I know it's a bit old but still not fixed. Is it still open ? What is the expected result ?
Thanks for your help
from companion.home-assistant.
You bring up a good point on this. In fact some of the sensors already exist as a sub-section so we may just need to flesh them out a bit more and remove from the table.
from companion.home-assistant.
Hi @jonasCr. Yep this is still very much open and help would be hugely appreciated 😄 . Currently the table has most sensors just listed in a table with the description also in the table. This really doesn't work in mobile browsers (see above). Instead I think we want remove the tables and translate the information in to paragraph form. Trying to combine the Android and iOS information where they are common and also incorporate the additional information from the bottom of the page. Something like (images may look poor on GitHub dark mode as we don't have the CSS we use on the actual site) also note I've fixed the previously incorrect entity ID.
Activity Sensor
Entity: sensor.<DEVICE_NAME>_activity
Platform: ,
Attributes iOS: confidence
, types
Attributes Android: confidence
Description: The current activity type as computed by your device's OS. Requires motion permissions to be enabled.
Additional Details
sensor.activity
provides the current motion activity as calculated by iOS along with the confidence of the calculations. Activities known by iOS and given by sensor.activity
are:
Stationary
Walking
Running
Automotive
Cycling
If iOS is unable to calculate an activity from motion data, Unknown
will be given.
It is possible for multiple activities to be returned, such as Cycling
and Stationary
(if you are cycling but at a stop light), the state of the sensor is simply the first of these return by iOS (not necessarily the most likely). A complete list of calculated activities is given by the types
attribute. See this post by @Mattt over at nshipster for a description of how different scenarios yield multiple activities.
The confidence
attribute corresponds how accurate iOS believes the report of the current activity is. Possible values are:
Low
Medium
High
This sensor is only available on the full flavor of the Android app that is found in the Google Play Store, it is not available for the minimal flavor. For android the user will have a different set of states to go by:
in_vehicle
on_bicycle
on_foot
running
still
tilting
walking
unknown
The attribute for the state will reflect the confidence
rating from the Activity Recognition API. This sensor requires the Activity Recognition permission.
from companion.home-assistant.
Thanks for your answer. I think I will have a few times those days to get into this. Tell me if I'm wrong but the main idea is:
- Drop the tables of the doc pages
- Replace the information of the tables in paragraph with both iOs and Android information
- Add the content of the actual paragraph, if exist, in a new Additional details section
Am I going in the right direction ?
from companion.home-assistant.
Yep that sounds pretty much right. Thanks again :)
from companion.home-assistant.
Related Issues (20)
- The service call widget is not working HOT 1
- Notification to a group does not work as advertised HOT 5
- Ha
- building app minimal version fails HOT 4
- minimal builsd is failing HOT 4
- Add mention on the Sounds page that Android can't do this atm HOT 3
- Black Page opening Hacs and addons page After kast Ha update 2024.3.0 HOT 1
- Blank Pages and freeze + OSError: [Errno 24] Too many open files since the last update 2024.3.0 HOT 1
- Apple Watch: Direct to HA Communications over WiFi? HOT 1
- Clarify how to create an action in the Mac app
- Subtitle not shown in documentation HOT 2
- Debug help - logs after crash or crash report access?
- Favorite Entities never show on WearOS watch (Pixel watch) HOT 1
- Allow microphone usage for insecure connections HOT 2
- Back & Hamburger Button on "Error while loading page lovelace." screen malfunction HOT 3
- Complications do not update on TTW (tilt to wake) HOT 1
- Dead Doc Link - Wear OS Setting - Android App
- Searches for Home Assistant Server HOT 3
- Does the home assitant android app have requirements for the android version HOT 5
- Complication does not auto update HOT 1
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 companion.home-assistant.