Components
24
Twig Components
92
Render Count
219
ms
Render Time
12.0
MiB
Memory Usage
Components
Render calls
entry | App\Twig\Components\EntryComponent | 12.0 MiB | 8.62 ms | |
---|---|---|---|---|
Input props | [ "entry" => App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } "isSingle" => true "showShortSentence" => false "showBody" => true ] |
|||
Attributes | [ "class" => "entry--single section--top" ] |
|||
Component | App\Twig\Components\EntryComponent {#2956 -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2957 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +isSingle: true +showShortSentence: false +showBody: true +showMagazineName: false +canSeeTrash: false +newComments: 0 } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.37 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#3172 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.42 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#3242 +date: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.22 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } "editedAt" => DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#3306 +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.51 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#3373 +subject: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +formDest: "entry" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 1.32 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#3444 +formDest: "entry" +subject: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entries_cross | App\Twig\Components\EntriesCrossComponent | 12.0 MiB | 52.96 ms | |
---|---|---|---|---|
Input props | [ "entry" => App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntriesCrossComponent {#3753 +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } -repository: App\Repository\EntryRepository {#271 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} } |
editor_toolbar | App\Twig\Components\EditorToolbarComponent | 12.0 MiB | 0.23 ms | |
---|---|---|---|---|
Input props | [ "id" => "entry_comment_67c7ad674a5ca7.87842222_body" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EditorToolbarComponent {#3878 +id: "entry_comment_67c7ad674a5ca7.87842222_body" } |
entry_comment | App\Twig\Components\EntryCommentComponent | 12.0 MiB | 32.20 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } "showNested" => true "dateAsUrl" => false "showMagazineName" => false "showEntryTitle" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#4258 +comment: App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 1 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.16 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#4320 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#4375 +date: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.09 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#4429 +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.25 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#4485 +width: 40 +height: 40 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.41 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#4578 +subject: App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 0.63 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#4635 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 12.0 MiB | 18.40 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } "level" => 1 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#4880 +comment: App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } +nestedComments: [ 307554 => App\Entity\EntryComment {#4199 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4078} +root: App\Entity\EntryComment {#4078} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4204 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4207 …} +nested: Doctrine\ORM\PersistentCollection {#4211 …} +votes: Doctrine\ORM\PersistentCollection {#4213 …} +reports: Doctrine\ORM\PersistentCollection {#4214 …} +favourites: Doctrine\ORM\PersistentCollection {#4216 …} +notifications: Doctrine\ORM\PersistentCollection {#4218 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4201 : 2024-01-14 11:57:18.0 +01:00 } } ] +level: 1 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
entry_comment | App\Twig\Components\EntryCommentComponent | 12.0 MiB | 11.69 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4199 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4078} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4204 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4207 …} +nested: Doctrine\ORM\PersistentCollection {#4211 …} +votes: Doctrine\ORM\PersistentCollection {#4213 …} +reports: Doctrine\ORM\PersistentCollection {#4214 …} +favourites: Doctrine\ORM\PersistentCollection {#4216 …} +notifications: Doctrine\ORM\PersistentCollection {#4218 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4201 : 2024-01-14 11:57:18.0 +01:00 } } "showNested" => true "level" => 2 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#4954 +comment: App\Entity\EntryComment {#4199 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4078} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4204 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4207 …} +nested: Doctrine\ORM\PersistentCollection {#4211 …} +votes: Doctrine\ORM\PersistentCollection {#4213 …} +reports: Doctrine\ORM\PersistentCollection {#4214 …} +favourites: Doctrine\ORM\PersistentCollection {#4216 …} +notifications: Doctrine\ORM\PersistentCollection {#4218 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4201 : 2024-01-14 11:57:18.0 +01:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 2 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#5001 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1705229838 {#4201 : 2024-01-14 11:57:18.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#5056 +date: DateTimeImmutable @1705229838 {#4201 : 2024-01-14 11:57:18.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.10 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1705229838 {#4201 : 2024-01-14 11:57:18.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#5110 +createdAt: DateTimeImmutable @1705229838 {#4201 : 2024-01-14 11:57:18.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.16 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#5164 +width: 40 +height: 40 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.50 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4199 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4078} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4204 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4207 …} +nested: Doctrine\ORM\PersistentCollection {#4211 …} +votes: Doctrine\ORM\PersistentCollection {#4213 …} +reports: Doctrine\ORM\PersistentCollection {#4214 …} +favourites: Doctrine\ORM\PersistentCollection {#4216 …} +notifications: Doctrine\ORM\PersistentCollection {#4218 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4201 : 2024-01-14 11:57:18.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#5233 +subject: App\Entity\EntryComment {#4199 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4078} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4204 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4207 …} +nested: Doctrine\ORM\PersistentCollection {#4211 …} +votes: Doctrine\ORM\PersistentCollection {#4213 …} +reports: Doctrine\ORM\PersistentCollection {#4214 …} +favourites: Doctrine\ORM\PersistentCollection {#4216 …} +notifications: Doctrine\ORM\PersistentCollection {#4218 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4201 : 2024-01-14 11:57:18.0 +01:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 0.72 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4199 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4078} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4204 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4207 …} +nested: Doctrine\ORM\PersistentCollection {#4211 …} +votes: Doctrine\ORM\PersistentCollection {#4213 …} +reports: Doctrine\ORM\PersistentCollection {#4214 …} +favourites: Doctrine\ORM\PersistentCollection {#4216 …} +notifications: Doctrine\ORM\PersistentCollection {#4218 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4201 : 2024-01-14 11:57:18.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#5290 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4199 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4078} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4204 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4207 …} +nested: Doctrine\ORM\PersistentCollection {#4211 …} +votes: Doctrine\ORM\PersistentCollection {#4213 …} +reports: Doctrine\ORM\PersistentCollection {#4214 …} +favourites: Doctrine\ORM\PersistentCollection {#4216 …} +notifications: Doctrine\ORM\PersistentCollection {#4218 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4201 : 2024-01-14 11:57:18.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 12.0 MiB | 4.45 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4199 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4078} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4204 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4207 …} +nested: Doctrine\ORM\PersistentCollection {#4211 …} +votes: Doctrine\ORM\PersistentCollection {#4213 …} +reports: Doctrine\ORM\PersistentCollection {#4214 …} +favourites: Doctrine\ORM\PersistentCollection {#4216 …} +notifications: Doctrine\ORM\PersistentCollection {#4218 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4201 : 2024-01-14 11:57:18.0 +01:00 } } "level" => 2 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#5530 +comment: App\Entity\EntryComment {#4199 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4078 +user: App\Entity\User {#4026 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4086 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4027 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4030 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4022 …} +entries: Doctrine\ORM\PersistentCollection {#4020 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4018 …} +entryComments: Doctrine\ORM\PersistentCollection {#4015 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4013 …} +posts: Doctrine\ORM\PersistentCollection {#4010 …} +postVotes: Doctrine\ORM\PersistentCollection {#4008 …} +postComments: Doctrine\ORM\PersistentCollection {#4006 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4001 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3999 …} +follows: Doctrine\ORM\PersistentCollection {#4142 …} +followers: Doctrine\ORM\PersistentCollection {#4138 …} +blocks: Doctrine\ORM\PersistentCollection {#4127 …} +blockers: Doctrine\ORM\PersistentCollection {#4118 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4107 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4141 …} +favourites: Doctrine\ORM\PersistentCollection {#4104 …} +violations: Doctrine\ORM\PersistentCollection {#4131 …} +notifications: Doctrine\ORM\PersistentCollection {#4134 …} +awards: Doctrine\ORM\PersistentCollection {#4132 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4130 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4122 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4082 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4080 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4087 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4076 …} +nested: Doctrine\ORM\PersistentCollection {#4074 …} +votes: Doctrine\ORM\PersistentCollection {#4072 …} +reports: Doctrine\ORM\PersistentCollection {#4070 …} +favourites: Doctrine\ORM\PersistentCollection {#4038 …} +notifications: Doctrine\ORM\PersistentCollection {#4042 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4023 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4078} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4204 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4207 …} +nested: Doctrine\ORM\PersistentCollection {#4211 …} +votes: Doctrine\ORM\PersistentCollection {#4213 …} +reports: Doctrine\ORM\PersistentCollection {#4214 …} +favourites: Doctrine\ORM\PersistentCollection {#4216 …} +notifications: Doctrine\ORM\PersistentCollection {#4218 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4201 : 2024-01-14 11:57:18.0 +01:00 } } +nestedComments: [] +level: 2 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
entry_comment | App\Twig\Components\EntryCommentComponent | 12.0 MiB | 45.13 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } "showNested" => true "dateAsUrl" => false "showMagazineName" => false "showEntryTitle" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#5606 +comment: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 1 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#5651 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#5706 +date: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.09 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#5760 +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 5.88 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#5814 +width: 40 +height: 40 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.37 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#5885 +subject: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 0.62 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#5942 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 12.0 MiB | 32.86 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } "level" => 1 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#6182 +comment: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +nestedComments: [ 305438 => App\Entity\EntryComment {#4222 +user: Proxies\__CG__\App\Entity\User {#4223 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6324 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6327 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6329 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6331 …} +entries: Doctrine\ORM\PersistentCollection {#6333 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6335 …} +entryComments: Doctrine\ORM\PersistentCollection {#6337 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6339 …} +posts: Doctrine\ORM\PersistentCollection {#6341 …} +postVotes: Doctrine\ORM\PersistentCollection {#6343 …} +postComments: Doctrine\ORM\PersistentCollection {#6345 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6347 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6349 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6351 …} +follows: Doctrine\ORM\PersistentCollection {#6353 …} +followers: Doctrine\ORM\PersistentCollection {#6355 …} +blocks: Doctrine\ORM\PersistentCollection {#6357 …} +blockers: Doctrine\ORM\PersistentCollection {#6359 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6361 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6363 …} +reports: Doctrine\ORM\PersistentCollection {#6365 …} +favourites: Doctrine\ORM\PersistentCollection {#6367 …} +violations: Doctrine\ORM\PersistentCollection {#6369 …} +notifications: Doctrine\ORM\PersistentCollection {#6371 …} +awards: Doctrine\ORM\PersistentCollection {#6373 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6375 …} +categories: Doctrine\ORM\PersistentCollection {#6377 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6379 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6325 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6326 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110} +root: App\Entity\EntryComment {#4110} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4220 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4224 …} +nested: Doctrine\ORM\PersistentCollection {#4226 …} +votes: Doctrine\ORM\PersistentCollection {#4228 …} +reports: Doctrine\ORM\PersistentCollection {#4230 …} +favourites: Doctrine\ORM\PersistentCollection {#4232 …} +notifications: Doctrine\ORM\PersistentCollection {#4234 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4221 : 2024-01-13 16:23:19.0 +01:00 } } 306303 => App\Entity\EntryComment {#4239 +user: Proxies\__CG__\App\Entity\User {#4240 +avatar: Proxies\__CG__\App\Entity\Image {#7030 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7025 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7032 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7034 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7036 …} +entries: Doctrine\ORM\PersistentCollection {#7038 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7040 …} +entryComments: Doctrine\ORM\PersistentCollection {#7042 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7044 …} +posts: Doctrine\ORM\PersistentCollection {#7046 …} +postVotes: Doctrine\ORM\PersistentCollection {#7048 …} +postComments: Doctrine\ORM\PersistentCollection {#7050 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7052 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7054 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7056 …} +follows: Doctrine\ORM\PersistentCollection {#7058 …} +followers: Doctrine\ORM\PersistentCollection {#7060 …} +blocks: Doctrine\ORM\PersistentCollection {#7062 …} +blockers: Doctrine\ORM\PersistentCollection {#7064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7066 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7068 …} +reports: Doctrine\ORM\PersistentCollection {#7070 …} +favourites: Doctrine\ORM\PersistentCollection {#7072 …} +violations: Doctrine\ORM\PersistentCollection {#7074 …} +notifications: Doctrine\ORM\PersistentCollection {#7076 …} +awards: Doctrine\ORM\PersistentCollection {#7078 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7080 …} +categories: Doctrine\ORM\PersistentCollection {#7082 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7084 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7022 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7024 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110} +root: App\Entity\EntryComment {#4110} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4236 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4241 …} +nested: Doctrine\ORM\PersistentCollection {#4243 …} +votes: Doctrine\ORM\PersistentCollection {#4245 …} +reports: Doctrine\ORM\PersistentCollection {#4247 …} +favourites: Doctrine\ORM\PersistentCollection {#4249 …} +notifications: Doctrine\ORM\PersistentCollection {#4251 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4237 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4238 : 2024-01-13 22:56:39.0 +01:00 } } ] +level: 1 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
entry_comment | App\Twig\Components\EntryCommentComponent | 12.0 MiB | 6.10 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4222 +user: Proxies\__CG__\App\Entity\User {#4223 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6324 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6327 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6329 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6331 …} +entries: Doctrine\ORM\PersistentCollection {#6333 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6335 …} +entryComments: Doctrine\ORM\PersistentCollection {#6337 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6339 …} +posts: Doctrine\ORM\PersistentCollection {#6341 …} +postVotes: Doctrine\ORM\PersistentCollection {#6343 …} +postComments: Doctrine\ORM\PersistentCollection {#6345 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6347 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6349 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6351 …} +follows: Doctrine\ORM\PersistentCollection {#6353 …} +followers: Doctrine\ORM\PersistentCollection {#6355 …} +blocks: Doctrine\ORM\PersistentCollection {#6357 …} +blockers: Doctrine\ORM\PersistentCollection {#6359 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6361 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6363 …} +reports: Doctrine\ORM\PersistentCollection {#6365 …} +favourites: Doctrine\ORM\PersistentCollection {#6367 …} +violations: Doctrine\ORM\PersistentCollection {#6369 …} +notifications: Doctrine\ORM\PersistentCollection {#6371 …} +awards: Doctrine\ORM\PersistentCollection {#6373 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6375 …} +categories: Doctrine\ORM\PersistentCollection {#6377 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6379 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6325 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6326 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4220 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4224 …} +nested: Doctrine\ORM\PersistentCollection {#4226 …} +votes: Doctrine\ORM\PersistentCollection {#4228 …} +reports: Doctrine\ORM\PersistentCollection {#4230 …} +favourites: Doctrine\ORM\PersistentCollection {#4232 …} +notifications: Doctrine\ORM\PersistentCollection {#4234 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4221 : 2024-01-13 16:23:19.0 +01:00 } } "showNested" => true "level" => 2 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#6242 +comment: App\Entity\EntryComment {#4222 +user: Proxies\__CG__\App\Entity\User {#4223 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6324 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6327 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6329 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6331 …} +entries: Doctrine\ORM\PersistentCollection {#6333 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6335 …} +entryComments: Doctrine\ORM\PersistentCollection {#6337 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6339 …} +posts: Doctrine\ORM\PersistentCollection {#6341 …} +postVotes: Doctrine\ORM\PersistentCollection {#6343 …} +postComments: Doctrine\ORM\PersistentCollection {#6345 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6347 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6349 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6351 …} +follows: Doctrine\ORM\PersistentCollection {#6353 …} +followers: Doctrine\ORM\PersistentCollection {#6355 …} +blocks: Doctrine\ORM\PersistentCollection {#6357 …} +blockers: Doctrine\ORM\PersistentCollection {#6359 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6361 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6363 …} +reports: Doctrine\ORM\PersistentCollection {#6365 …} +favourites: Doctrine\ORM\PersistentCollection {#6367 …} +violations: Doctrine\ORM\PersistentCollection {#6369 …} +notifications: Doctrine\ORM\PersistentCollection {#6371 …} +awards: Doctrine\ORM\PersistentCollection {#6373 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6375 …} +categories: Doctrine\ORM\PersistentCollection {#6377 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6379 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6325 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6326 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4220 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4224 …} +nested: Doctrine\ORM\PersistentCollection {#4226 …} +votes: Doctrine\ORM\PersistentCollection {#4228 …} +reports: Doctrine\ORM\PersistentCollection {#4230 …} +favourites: Doctrine\ORM\PersistentCollection {#4232 …} +notifications: Doctrine\ORM\PersistentCollection {#4234 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4221 : 2024-01-13 16:23:19.0 +01:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 2 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.49 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#4223 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6324 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6327 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6329 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6331 …} +entries: Doctrine\ORM\PersistentCollection {#6333 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6335 …} +entryComments: Doctrine\ORM\PersistentCollection {#6337 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6339 …} +posts: Doctrine\ORM\PersistentCollection {#6341 …} +postVotes: Doctrine\ORM\PersistentCollection {#6343 …} +postComments: Doctrine\ORM\PersistentCollection {#6345 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6347 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6349 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6351 …} +follows: Doctrine\ORM\PersistentCollection {#6353 …} +followers: Doctrine\ORM\PersistentCollection {#6355 …} +blocks: Doctrine\ORM\PersistentCollection {#6357 …} +blockers: Doctrine\ORM\PersistentCollection {#6359 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6361 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6363 …} +reports: Doctrine\ORM\PersistentCollection {#6365 …} +favourites: Doctrine\ORM\PersistentCollection {#6367 …} +violations: Doctrine\ORM\PersistentCollection {#6369 …} +notifications: Doctrine\ORM\PersistentCollection {#6371 …} +awards: Doctrine\ORM\PersistentCollection {#6373 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6375 …} +categories: Doctrine\ORM\PersistentCollection {#6377 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6379 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6325 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6326 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#6287 +user: Proxies\__CG__\App\Entity\User {#4223 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6324 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6327 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6329 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6331 …} +entries: Doctrine\ORM\PersistentCollection {#6333 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6335 …} +entryComments: Doctrine\ORM\PersistentCollection {#6337 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6339 …} +posts: Doctrine\ORM\PersistentCollection {#6341 …} +postVotes: Doctrine\ORM\PersistentCollection {#6343 …} +postComments: Doctrine\ORM\PersistentCollection {#6345 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6347 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6349 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6351 …} +follows: Doctrine\ORM\PersistentCollection {#6353 …} +followers: Doctrine\ORM\PersistentCollection {#6355 …} +blocks: Doctrine\ORM\PersistentCollection {#6357 …} +blockers: Doctrine\ORM\PersistentCollection {#6359 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6361 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6363 …} +reports: Doctrine\ORM\PersistentCollection {#6365 …} +favourites: Doctrine\ORM\PersistentCollection {#6367 …} +violations: Doctrine\ORM\PersistentCollection {#6369 …} +notifications: Doctrine\ORM\PersistentCollection {#6371 …} +awards: Doctrine\ORM\PersistentCollection {#6373 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6375 …} +categories: Doctrine\ORM\PersistentCollection {#6377 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6379 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6325 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6326 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1705159399 {#4221 : 2024-01-13 16:23:19.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#6400 +date: DateTimeImmutable @1705159399 {#4221 : 2024-01-13 16:23:19.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.09 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1705159399 {#4221 : 2024-01-13 16:23:19.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#6454 +createdAt: DateTimeImmutable @1705159399 {#4221 : 2024-01-13 16:23:19.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#4223 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6324 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6327 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6329 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6331 …} +entries: Doctrine\ORM\PersistentCollection {#6333 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6335 …} +entryComments: Doctrine\ORM\PersistentCollection {#6337 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6339 …} +posts: Doctrine\ORM\PersistentCollection {#6341 …} +postVotes: Doctrine\ORM\PersistentCollection {#6343 …} +postComments: Doctrine\ORM\PersistentCollection {#6345 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6347 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6349 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6351 …} +follows: Doctrine\ORM\PersistentCollection {#6353 …} +followers: Doctrine\ORM\PersistentCollection {#6355 …} +blocks: Doctrine\ORM\PersistentCollection {#6357 …} +blockers: Doctrine\ORM\PersistentCollection {#6359 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6361 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6363 …} +reports: Doctrine\ORM\PersistentCollection {#6365 …} +favourites: Doctrine\ORM\PersistentCollection {#6367 …} +violations: Doctrine\ORM\PersistentCollection {#6369 …} +notifications: Doctrine\ORM\PersistentCollection {#6371 …} +awards: Doctrine\ORM\PersistentCollection {#6373 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6375 …} +categories: Doctrine\ORM\PersistentCollection {#6377 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6379 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6325 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6326 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#6508 +width: 40 +height: 40 +user: Proxies\__CG__\App\Entity\User {#4223 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6324 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6327 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6329 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6331 …} +entries: Doctrine\ORM\PersistentCollection {#6333 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6335 …} +entryComments: Doctrine\ORM\PersistentCollection {#6337 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6339 …} +posts: Doctrine\ORM\PersistentCollection {#6341 …} +postVotes: Doctrine\ORM\PersistentCollection {#6343 …} +postComments: Doctrine\ORM\PersistentCollection {#6345 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6347 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6349 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6351 …} +follows: Doctrine\ORM\PersistentCollection {#6353 …} +followers: Doctrine\ORM\PersistentCollection {#6355 …} +blocks: Doctrine\ORM\PersistentCollection {#6357 …} +blockers: Doctrine\ORM\PersistentCollection {#6359 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6361 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6363 …} +reports: Doctrine\ORM\PersistentCollection {#6365 …} +favourites: Doctrine\ORM\PersistentCollection {#6367 …} +violations: Doctrine\ORM\PersistentCollection {#6369 …} +notifications: Doctrine\ORM\PersistentCollection {#6371 …} +awards: Doctrine\ORM\PersistentCollection {#6373 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6375 …} +categories: Doctrine\ORM\PersistentCollection {#6377 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6379 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6325 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6326 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.40 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4222 +user: Proxies\__CG__\App\Entity\User {#4223 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6324 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6327 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6329 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6331 …} +entries: Doctrine\ORM\PersistentCollection {#6333 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6335 …} +entryComments: Doctrine\ORM\PersistentCollection {#6337 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6339 …} +posts: Doctrine\ORM\PersistentCollection {#6341 …} +postVotes: Doctrine\ORM\PersistentCollection {#6343 …} +postComments: Doctrine\ORM\PersistentCollection {#6345 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6347 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6349 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6351 …} +follows: Doctrine\ORM\PersistentCollection {#6353 …} +followers: Doctrine\ORM\PersistentCollection {#6355 …} +blocks: Doctrine\ORM\PersistentCollection {#6357 …} +blockers: Doctrine\ORM\PersistentCollection {#6359 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6361 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6363 …} +reports: Doctrine\ORM\PersistentCollection {#6365 …} +favourites: Doctrine\ORM\PersistentCollection {#6367 …} +violations: Doctrine\ORM\PersistentCollection {#6369 …} +notifications: Doctrine\ORM\PersistentCollection {#6371 …} +awards: Doctrine\ORM\PersistentCollection {#6373 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6375 …} +categories: Doctrine\ORM\PersistentCollection {#6377 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6379 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6325 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6326 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4220 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4224 …} +nested: Doctrine\ORM\PersistentCollection {#4226 …} +votes: Doctrine\ORM\PersistentCollection {#4228 …} +reports: Doctrine\ORM\PersistentCollection {#4230 …} +favourites: Doctrine\ORM\PersistentCollection {#4232 …} +notifications: Doctrine\ORM\PersistentCollection {#4234 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4221 : 2024-01-13 16:23:19.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#6577 +subject: App\Entity\EntryComment {#4222 +user: Proxies\__CG__\App\Entity\User {#4223 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6324 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6327 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6329 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6331 …} +entries: Doctrine\ORM\PersistentCollection {#6333 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6335 …} +entryComments: Doctrine\ORM\PersistentCollection {#6337 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6339 …} +posts: Doctrine\ORM\PersistentCollection {#6341 …} +postVotes: Doctrine\ORM\PersistentCollection {#6343 …} +postComments: Doctrine\ORM\PersistentCollection {#6345 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6347 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6349 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6351 …} +follows: Doctrine\ORM\PersistentCollection {#6353 …} +followers: Doctrine\ORM\PersistentCollection {#6355 …} +blocks: Doctrine\ORM\PersistentCollection {#6357 …} +blockers: Doctrine\ORM\PersistentCollection {#6359 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6361 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6363 …} +reports: Doctrine\ORM\PersistentCollection {#6365 …} +favourites: Doctrine\ORM\PersistentCollection {#6367 …} +violations: Doctrine\ORM\PersistentCollection {#6369 …} +notifications: Doctrine\ORM\PersistentCollection {#6371 …} +awards: Doctrine\ORM\PersistentCollection {#6373 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6375 …} +categories: Doctrine\ORM\PersistentCollection {#6377 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6379 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6325 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6326 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4220 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4224 …} +nested: Doctrine\ORM\PersistentCollection {#4226 …} +votes: Doctrine\ORM\PersistentCollection {#4228 …} +reports: Doctrine\ORM\PersistentCollection {#4230 …} +favourites: Doctrine\ORM\PersistentCollection {#4232 …} +notifications: Doctrine\ORM\PersistentCollection {#4234 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4221 : 2024-01-13 16:23:19.0 +01:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 0.66 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4222 +user: Proxies\__CG__\App\Entity\User {#4223 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6324 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6327 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6329 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6331 …} +entries: Doctrine\ORM\PersistentCollection {#6333 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6335 …} +entryComments: Doctrine\ORM\PersistentCollection {#6337 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6339 …} +posts: Doctrine\ORM\PersistentCollection {#6341 …} +postVotes: Doctrine\ORM\PersistentCollection {#6343 …} +postComments: Doctrine\ORM\PersistentCollection {#6345 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6347 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6349 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6351 …} +follows: Doctrine\ORM\PersistentCollection {#6353 …} +followers: Doctrine\ORM\PersistentCollection {#6355 …} +blocks: Doctrine\ORM\PersistentCollection {#6357 …} +blockers: Doctrine\ORM\PersistentCollection {#6359 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6361 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6363 …} +reports: Doctrine\ORM\PersistentCollection {#6365 …} +favourites: Doctrine\ORM\PersistentCollection {#6367 …} +violations: Doctrine\ORM\PersistentCollection {#6369 …} +notifications: Doctrine\ORM\PersistentCollection {#6371 …} +awards: Doctrine\ORM\PersistentCollection {#6373 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6375 …} +categories: Doctrine\ORM\PersistentCollection {#6377 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6379 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6325 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6326 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4220 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4224 …} +nested: Doctrine\ORM\PersistentCollection {#4226 …} +votes: Doctrine\ORM\PersistentCollection {#4228 …} +reports: Doctrine\ORM\PersistentCollection {#4230 …} +favourites: Doctrine\ORM\PersistentCollection {#4232 …} +notifications: Doctrine\ORM\PersistentCollection {#4234 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4221 : 2024-01-13 16:23:19.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#6634 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4222 +user: Proxies\__CG__\App\Entity\User {#4223 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6324 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6327 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6329 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6331 …} +entries: Doctrine\ORM\PersistentCollection {#6333 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6335 …} +entryComments: Doctrine\ORM\PersistentCollection {#6337 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6339 …} +posts: Doctrine\ORM\PersistentCollection {#6341 …} +postVotes: Doctrine\ORM\PersistentCollection {#6343 …} +postComments: Doctrine\ORM\PersistentCollection {#6345 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6347 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6349 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6351 …} +follows: Doctrine\ORM\PersistentCollection {#6353 …} +followers: Doctrine\ORM\PersistentCollection {#6355 …} +blocks: Doctrine\ORM\PersistentCollection {#6357 …} +blockers: Doctrine\ORM\PersistentCollection {#6359 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6361 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6363 …} +reports: Doctrine\ORM\PersistentCollection {#6365 …} +favourites: Doctrine\ORM\PersistentCollection {#6367 …} +violations: Doctrine\ORM\PersistentCollection {#6369 …} +notifications: Doctrine\ORM\PersistentCollection {#6371 …} +awards: Doctrine\ORM\PersistentCollection {#6373 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6375 …} +categories: Doctrine\ORM\PersistentCollection {#6377 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6379 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6325 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6326 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4220 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4224 …} +nested: Doctrine\ORM\PersistentCollection {#4226 …} +votes: Doctrine\ORM\PersistentCollection {#4228 …} +reports: Doctrine\ORM\PersistentCollection {#4230 …} +favourites: Doctrine\ORM\PersistentCollection {#4232 …} +notifications: Doctrine\ORM\PersistentCollection {#4234 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4221 : 2024-01-13 16:23:19.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 12.0 MiB | 0.34 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4222 +user: Proxies\__CG__\App\Entity\User {#4223 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6324 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6327 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6329 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6331 …} +entries: Doctrine\ORM\PersistentCollection {#6333 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6335 …} +entryComments: Doctrine\ORM\PersistentCollection {#6337 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6339 …} +posts: Doctrine\ORM\PersistentCollection {#6341 …} +postVotes: Doctrine\ORM\PersistentCollection {#6343 …} +postComments: Doctrine\ORM\PersistentCollection {#6345 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6347 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6349 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6351 …} +follows: Doctrine\ORM\PersistentCollection {#6353 …} +followers: Doctrine\ORM\PersistentCollection {#6355 …} +blocks: Doctrine\ORM\PersistentCollection {#6357 …} +blockers: Doctrine\ORM\PersistentCollection {#6359 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6361 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6363 …} +reports: Doctrine\ORM\PersistentCollection {#6365 …} +favourites: Doctrine\ORM\PersistentCollection {#6367 …} +violations: Doctrine\ORM\PersistentCollection {#6369 …} +notifications: Doctrine\ORM\PersistentCollection {#6371 …} +awards: Doctrine\ORM\PersistentCollection {#6373 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6375 …} +categories: Doctrine\ORM\PersistentCollection {#6377 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6379 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6325 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6326 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4220 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4224 …} +nested: Doctrine\ORM\PersistentCollection {#4226 …} +votes: Doctrine\ORM\PersistentCollection {#4228 …} +reports: Doctrine\ORM\PersistentCollection {#4230 …} +favourites: Doctrine\ORM\PersistentCollection {#4232 …} +notifications: Doctrine\ORM\PersistentCollection {#4234 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4221 : 2024-01-13 16:23:19.0 +01:00 } } "level" => 2 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#6874 +comment: App\Entity\EntryComment {#4222 +user: Proxies\__CG__\App\Entity\User {#4223 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6324 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6327 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6329 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6331 …} +entries: Doctrine\ORM\PersistentCollection {#6333 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6335 …} +entryComments: Doctrine\ORM\PersistentCollection {#6337 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6339 …} +posts: Doctrine\ORM\PersistentCollection {#6341 …} +postVotes: Doctrine\ORM\PersistentCollection {#6343 …} +postComments: Doctrine\ORM\PersistentCollection {#6345 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6347 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6349 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6351 …} +follows: Doctrine\ORM\PersistentCollection {#6353 …} +followers: Doctrine\ORM\PersistentCollection {#6355 …} +blocks: Doctrine\ORM\PersistentCollection {#6357 …} +blockers: Doctrine\ORM\PersistentCollection {#6359 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6361 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6363 …} +reports: Doctrine\ORM\PersistentCollection {#6365 …} +favourites: Doctrine\ORM\PersistentCollection {#6367 …} +violations: Doctrine\ORM\PersistentCollection {#6369 …} +notifications: Doctrine\ORM\PersistentCollection {#6371 …} +awards: Doctrine\ORM\PersistentCollection {#6373 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6375 …} +categories: Doctrine\ORM\PersistentCollection {#6377 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6379 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6325 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6326 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4220 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4224 …} +nested: Doctrine\ORM\PersistentCollection {#4226 …} +votes: Doctrine\ORM\PersistentCollection {#4228 …} +reports: Doctrine\ORM\PersistentCollection {#4230 …} +favourites: Doctrine\ORM\PersistentCollection {#4232 …} +notifications: Doctrine\ORM\PersistentCollection {#4234 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4221 : 2024-01-13 16:23:19.0 +01:00 } } +nestedComments: [] +level: 2 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
entry_comment | App\Twig\Components\EntryCommentComponent | 12.0 MiB | 16.07 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4239 +user: Proxies\__CG__\App\Entity\User {#4240 +avatar: Proxies\__CG__\App\Entity\Image {#7030 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7025 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7032 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7034 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7036 …} +entries: Doctrine\ORM\PersistentCollection {#7038 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7040 …} +entryComments: Doctrine\ORM\PersistentCollection {#7042 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7044 …} +posts: Doctrine\ORM\PersistentCollection {#7046 …} +postVotes: Doctrine\ORM\PersistentCollection {#7048 …} +postComments: Doctrine\ORM\PersistentCollection {#7050 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7052 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7054 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7056 …} +follows: Doctrine\ORM\PersistentCollection {#7058 …} +followers: Doctrine\ORM\PersistentCollection {#7060 …} +blocks: Doctrine\ORM\PersistentCollection {#7062 …} +blockers: Doctrine\ORM\PersistentCollection {#7064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7066 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7068 …} +reports: Doctrine\ORM\PersistentCollection {#7070 …} +favourites: Doctrine\ORM\PersistentCollection {#7072 …} +violations: Doctrine\ORM\PersistentCollection {#7074 …} +notifications: Doctrine\ORM\PersistentCollection {#7076 …} +awards: Doctrine\ORM\PersistentCollection {#7078 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7080 …} +categories: Doctrine\ORM\PersistentCollection {#7082 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7084 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7022 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7024 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4236 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4241 …} +nested: Doctrine\ORM\PersistentCollection {#4243 …} +votes: Doctrine\ORM\PersistentCollection {#4245 …} +reports: Doctrine\ORM\PersistentCollection {#4247 …} +favourites: Doctrine\ORM\PersistentCollection {#4249 …} +notifications: Doctrine\ORM\PersistentCollection {#4251 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4237 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4238 : 2024-01-13 22:56:39.0 +01:00 } } "showNested" => true "level" => 2 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#6940 +comment: App\Entity\EntryComment {#4239 +user: Proxies\__CG__\App\Entity\User {#4240 +avatar: Proxies\__CG__\App\Entity\Image {#7030 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7025 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7032 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7034 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7036 …} +entries: Doctrine\ORM\PersistentCollection {#7038 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7040 …} +entryComments: Doctrine\ORM\PersistentCollection {#7042 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7044 …} +posts: Doctrine\ORM\PersistentCollection {#7046 …} +postVotes: Doctrine\ORM\PersistentCollection {#7048 …} +postComments: Doctrine\ORM\PersistentCollection {#7050 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7052 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7054 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7056 …} +follows: Doctrine\ORM\PersistentCollection {#7058 …} +followers: Doctrine\ORM\PersistentCollection {#7060 …} +blocks: Doctrine\ORM\PersistentCollection {#7062 …} +blockers: Doctrine\ORM\PersistentCollection {#7064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7066 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7068 …} +reports: Doctrine\ORM\PersistentCollection {#7070 …} +favourites: Doctrine\ORM\PersistentCollection {#7072 …} +violations: Doctrine\ORM\PersistentCollection {#7074 …} +notifications: Doctrine\ORM\PersistentCollection {#7076 …} +awards: Doctrine\ORM\PersistentCollection {#7078 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7080 …} +categories: Doctrine\ORM\PersistentCollection {#7082 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7084 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7022 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7024 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4236 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4241 …} +nested: Doctrine\ORM\PersistentCollection {#4243 …} +votes: Doctrine\ORM\PersistentCollection {#4245 …} +reports: Doctrine\ORM\PersistentCollection {#4247 …} +favourites: Doctrine\ORM\PersistentCollection {#4249 …} +notifications: Doctrine\ORM\PersistentCollection {#4251 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4237 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4238 : 2024-01-13 22:56:39.0 +01:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 2 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 6.36 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#4240 +avatar: Proxies\__CG__\App\Entity\Image {#7030 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7025 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7032 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7034 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7036 …} +entries: Doctrine\ORM\PersistentCollection {#7038 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7040 …} +entryComments: Doctrine\ORM\PersistentCollection {#7042 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7044 …} +posts: Doctrine\ORM\PersistentCollection {#7046 …} +postVotes: Doctrine\ORM\PersistentCollection {#7048 …} +postComments: Doctrine\ORM\PersistentCollection {#7050 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7052 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7054 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7056 …} +follows: Doctrine\ORM\PersistentCollection {#7058 …} +followers: Doctrine\ORM\PersistentCollection {#7060 …} +blocks: Doctrine\ORM\PersistentCollection {#7062 …} +blockers: Doctrine\ORM\PersistentCollection {#7064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7066 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7068 …} +reports: Doctrine\ORM\PersistentCollection {#7070 …} +favourites: Doctrine\ORM\PersistentCollection {#7072 …} +violations: Doctrine\ORM\PersistentCollection {#7074 …} +notifications: Doctrine\ORM\PersistentCollection {#7076 …} +awards: Doctrine\ORM\PersistentCollection {#7078 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7080 …} +categories: Doctrine\ORM\PersistentCollection {#7082 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7084 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7022 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7024 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#6985 +user: Proxies\__CG__\App\Entity\User {#4240 +avatar: Proxies\__CG__\App\Entity\Image {#7030 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7025 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7032 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7034 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7036 …} +entries: Doctrine\ORM\PersistentCollection {#7038 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7040 …} +entryComments: Doctrine\ORM\PersistentCollection {#7042 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7044 …} +posts: Doctrine\ORM\PersistentCollection {#7046 …} +postVotes: Doctrine\ORM\PersistentCollection {#7048 …} +postComments: Doctrine\ORM\PersistentCollection {#7050 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7052 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7054 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7056 …} +follows: Doctrine\ORM\PersistentCollection {#7058 …} +followers: Doctrine\ORM\PersistentCollection {#7060 …} +blocks: Doctrine\ORM\PersistentCollection {#7062 …} +blockers: Doctrine\ORM\PersistentCollection {#7064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7066 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7068 …} +reports: Doctrine\ORM\PersistentCollection {#7070 …} +favourites: Doctrine\ORM\PersistentCollection {#7072 …} +violations: Doctrine\ORM\PersistentCollection {#7074 …} +notifications: Doctrine\ORM\PersistentCollection {#7076 …} +awards: Doctrine\ORM\PersistentCollection {#7078 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7080 …} +categories: Doctrine\ORM\PersistentCollection {#7082 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7084 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7022 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7024 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1705182999 {#4238 : 2024-01-13 22:56:39.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#7104 +date: DateTimeImmutable @1705182999 {#4238 : 2024-01-13 22:56:39.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.16 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1705182999 {#4238 : 2024-01-13 22:56:39.0 +01:00 } "editedAt" => DateTimeImmutable @1722857249 {#4237 : 2024-08-05 13:27:29.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#7158 +createdAt: DateTimeImmutable @1705182999 {#4238 : 2024-01-13 22:56:39.0 +01:00 } +editedAt: DateTimeImmutable @1722857249 {#4237 : 2024-08-05 13:27:29.0 +02:00 } } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 1.32 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#4240 +avatar: Proxies\__CG__\App\Entity\Image {#7030 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7025 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7032 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7034 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7036 …} +entries: Doctrine\ORM\PersistentCollection {#7038 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7040 …} +entryComments: Doctrine\ORM\PersistentCollection {#7042 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7044 …} +posts: Doctrine\ORM\PersistentCollection {#7046 …} +postVotes: Doctrine\ORM\PersistentCollection {#7048 …} +postComments: Doctrine\ORM\PersistentCollection {#7050 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7052 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7054 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7056 …} +follows: Doctrine\ORM\PersistentCollection {#7058 …} +followers: Doctrine\ORM\PersistentCollection {#7060 …} +blocks: Doctrine\ORM\PersistentCollection {#7062 …} +blockers: Doctrine\ORM\PersistentCollection {#7064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7066 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7068 …} +reports: Doctrine\ORM\PersistentCollection {#7070 …} +favourites: Doctrine\ORM\PersistentCollection {#7072 …} +violations: Doctrine\ORM\PersistentCollection {#7074 …} +notifications: Doctrine\ORM\PersistentCollection {#7076 …} +awards: Doctrine\ORM\PersistentCollection {#7078 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7080 …} +categories: Doctrine\ORM\PersistentCollection {#7082 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7084 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7022 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7024 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#7212 +width: 40 +height: 40 +user: Proxies\__CG__\App\Entity\User {#4240 +avatar: Proxies\__CG__\App\Entity\Image {#7030 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7025 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7032 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7034 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7036 …} +entries: Doctrine\ORM\PersistentCollection {#7038 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7040 …} +entryComments: Doctrine\ORM\PersistentCollection {#7042 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7044 …} +posts: Doctrine\ORM\PersistentCollection {#7046 …} +postVotes: Doctrine\ORM\PersistentCollection {#7048 …} +postComments: Doctrine\ORM\PersistentCollection {#7050 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7052 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7054 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7056 …} +follows: Doctrine\ORM\PersistentCollection {#7058 …} +followers: Doctrine\ORM\PersistentCollection {#7060 …} +blocks: Doctrine\ORM\PersistentCollection {#7062 …} +blockers: Doctrine\ORM\PersistentCollection {#7064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7066 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7068 …} +reports: Doctrine\ORM\PersistentCollection {#7070 …} +favourites: Doctrine\ORM\PersistentCollection {#7072 …} +violations: Doctrine\ORM\PersistentCollection {#7074 …} +notifications: Doctrine\ORM\PersistentCollection {#7076 …} +awards: Doctrine\ORM\PersistentCollection {#7078 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7080 …} +categories: Doctrine\ORM\PersistentCollection {#7082 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7084 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7022 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7024 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.48 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4239 +user: Proxies\__CG__\App\Entity\User {#4240 +avatar: Proxies\__CG__\App\Entity\Image {#7030 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7025 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7032 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7034 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7036 …} +entries: Doctrine\ORM\PersistentCollection {#7038 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7040 …} +entryComments: Doctrine\ORM\PersistentCollection {#7042 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7044 …} +posts: Doctrine\ORM\PersistentCollection {#7046 …} +postVotes: Doctrine\ORM\PersistentCollection {#7048 …} +postComments: Doctrine\ORM\PersistentCollection {#7050 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7052 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7054 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7056 …} +follows: Doctrine\ORM\PersistentCollection {#7058 …} +followers: Doctrine\ORM\PersistentCollection {#7060 …} +blocks: Doctrine\ORM\PersistentCollection {#7062 …} +blockers: Doctrine\ORM\PersistentCollection {#7064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7066 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7068 …} +reports: Doctrine\ORM\PersistentCollection {#7070 …} +favourites: Doctrine\ORM\PersistentCollection {#7072 …} +violations: Doctrine\ORM\PersistentCollection {#7074 …} +notifications: Doctrine\ORM\PersistentCollection {#7076 …} +awards: Doctrine\ORM\PersistentCollection {#7078 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7080 …} +categories: Doctrine\ORM\PersistentCollection {#7082 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7084 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7022 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7024 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4236 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4241 …} +nested: Doctrine\ORM\PersistentCollection {#4243 …} +votes: Doctrine\ORM\PersistentCollection {#4245 …} +reports: Doctrine\ORM\PersistentCollection {#4247 …} +favourites: Doctrine\ORM\PersistentCollection {#4249 …} +notifications: Doctrine\ORM\PersistentCollection {#4251 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4237 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4238 : 2024-01-13 22:56:39.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#7283 +subject: App\Entity\EntryComment {#4239 +user: Proxies\__CG__\App\Entity\User {#4240 +avatar: Proxies\__CG__\App\Entity\Image {#7030 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7025 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7032 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7034 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7036 …} +entries: Doctrine\ORM\PersistentCollection {#7038 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7040 …} +entryComments: Doctrine\ORM\PersistentCollection {#7042 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7044 …} +posts: Doctrine\ORM\PersistentCollection {#7046 …} +postVotes: Doctrine\ORM\PersistentCollection {#7048 …} +postComments: Doctrine\ORM\PersistentCollection {#7050 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7052 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7054 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7056 …} +follows: Doctrine\ORM\PersistentCollection {#7058 …} +followers: Doctrine\ORM\PersistentCollection {#7060 …} +blocks: Doctrine\ORM\PersistentCollection {#7062 …} +blockers: Doctrine\ORM\PersistentCollection {#7064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7066 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7068 …} +reports: Doctrine\ORM\PersistentCollection {#7070 …} +favourites: Doctrine\ORM\PersistentCollection {#7072 …} +violations: Doctrine\ORM\PersistentCollection {#7074 …} +notifications: Doctrine\ORM\PersistentCollection {#7076 …} +awards: Doctrine\ORM\PersistentCollection {#7078 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7080 …} +categories: Doctrine\ORM\PersistentCollection {#7082 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7084 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7022 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7024 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4236 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4241 …} +nested: Doctrine\ORM\PersistentCollection {#4243 …} +votes: Doctrine\ORM\PersistentCollection {#4245 …} +reports: Doctrine\ORM\PersistentCollection {#4247 …} +favourites: Doctrine\ORM\PersistentCollection {#4249 …} +notifications: Doctrine\ORM\PersistentCollection {#4251 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4237 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4238 : 2024-01-13 22:56:39.0 +01:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 2.91 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4239 +user: Proxies\__CG__\App\Entity\User {#4240 +avatar: Proxies\__CG__\App\Entity\Image {#7030 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7025 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7032 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7034 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7036 …} +entries: Doctrine\ORM\PersistentCollection {#7038 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7040 …} +entryComments: Doctrine\ORM\PersistentCollection {#7042 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7044 …} +posts: Doctrine\ORM\PersistentCollection {#7046 …} +postVotes: Doctrine\ORM\PersistentCollection {#7048 …} +postComments: Doctrine\ORM\PersistentCollection {#7050 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7052 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7054 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7056 …} +follows: Doctrine\ORM\PersistentCollection {#7058 …} +followers: Doctrine\ORM\PersistentCollection {#7060 …} +blocks: Doctrine\ORM\PersistentCollection {#7062 …} +blockers: Doctrine\ORM\PersistentCollection {#7064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7066 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7068 …} +reports: Doctrine\ORM\PersistentCollection {#7070 …} +favourites: Doctrine\ORM\PersistentCollection {#7072 …} +violations: Doctrine\ORM\PersistentCollection {#7074 …} +notifications: Doctrine\ORM\PersistentCollection {#7076 …} +awards: Doctrine\ORM\PersistentCollection {#7078 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7080 …} +categories: Doctrine\ORM\PersistentCollection {#7082 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7084 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7022 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7024 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4236 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4241 …} +nested: Doctrine\ORM\PersistentCollection {#4243 …} +votes: Doctrine\ORM\PersistentCollection {#4245 …} +reports: Doctrine\ORM\PersistentCollection {#4247 …} +favourites: Doctrine\ORM\PersistentCollection {#4249 …} +notifications: Doctrine\ORM\PersistentCollection {#4251 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4237 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4238 : 2024-01-13 22:56:39.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#7340 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4239 +user: Proxies\__CG__\App\Entity\User {#4240 +avatar: Proxies\__CG__\App\Entity\Image {#7030 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7025 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7032 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7034 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7036 …} +entries: Doctrine\ORM\PersistentCollection {#7038 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7040 …} +entryComments: Doctrine\ORM\PersistentCollection {#7042 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7044 …} +posts: Doctrine\ORM\PersistentCollection {#7046 …} +postVotes: Doctrine\ORM\PersistentCollection {#7048 …} +postComments: Doctrine\ORM\PersistentCollection {#7050 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7052 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7054 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7056 …} +follows: Doctrine\ORM\PersistentCollection {#7058 …} +followers: Doctrine\ORM\PersistentCollection {#7060 …} +blocks: Doctrine\ORM\PersistentCollection {#7062 …} +blockers: Doctrine\ORM\PersistentCollection {#7064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7066 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7068 …} +reports: Doctrine\ORM\PersistentCollection {#7070 …} +favourites: Doctrine\ORM\PersistentCollection {#7072 …} +violations: Doctrine\ORM\PersistentCollection {#7074 …} +notifications: Doctrine\ORM\PersistentCollection {#7076 …} +awards: Doctrine\ORM\PersistentCollection {#7078 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7080 …} +categories: Doctrine\ORM\PersistentCollection {#7082 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7084 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7022 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7024 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4236 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4241 …} +nested: Doctrine\ORM\PersistentCollection {#4243 …} +votes: Doctrine\ORM\PersistentCollection {#4245 …} +reports: Doctrine\ORM\PersistentCollection {#4247 …} +favourites: Doctrine\ORM\PersistentCollection {#4249 …} +notifications: Doctrine\ORM\PersistentCollection {#4251 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4237 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4238 : 2024-01-13 22:56:39.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 12.0 MiB | 0.42 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4239 +user: Proxies\__CG__\App\Entity\User {#4240 +avatar: Proxies\__CG__\App\Entity\Image {#7030 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7025 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7032 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7034 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7036 …} +entries: Doctrine\ORM\PersistentCollection {#7038 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7040 …} +entryComments: Doctrine\ORM\PersistentCollection {#7042 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7044 …} +posts: Doctrine\ORM\PersistentCollection {#7046 …} +postVotes: Doctrine\ORM\PersistentCollection {#7048 …} +postComments: Doctrine\ORM\PersistentCollection {#7050 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7052 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7054 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7056 …} +follows: Doctrine\ORM\PersistentCollection {#7058 …} +followers: Doctrine\ORM\PersistentCollection {#7060 …} +blocks: Doctrine\ORM\PersistentCollection {#7062 …} +blockers: Doctrine\ORM\PersistentCollection {#7064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7066 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7068 …} +reports: Doctrine\ORM\PersistentCollection {#7070 …} +favourites: Doctrine\ORM\PersistentCollection {#7072 …} +violations: Doctrine\ORM\PersistentCollection {#7074 …} +notifications: Doctrine\ORM\PersistentCollection {#7076 …} +awards: Doctrine\ORM\PersistentCollection {#7078 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7080 …} +categories: Doctrine\ORM\PersistentCollection {#7082 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7084 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7022 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7024 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4236 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4241 …} +nested: Doctrine\ORM\PersistentCollection {#4243 …} +votes: Doctrine\ORM\PersistentCollection {#4245 …} +reports: Doctrine\ORM\PersistentCollection {#4247 …} +favourites: Doctrine\ORM\PersistentCollection {#4249 …} +notifications: Doctrine\ORM\PersistentCollection {#4251 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4237 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4238 : 2024-01-13 22:56:39.0 +01:00 } } "level" => 2 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#6570 +comment: App\Entity\EntryComment {#4239 +user: Proxies\__CG__\App\Entity\User {#4240 +avatar: Proxies\__CG__\App\Entity\Image {#7030 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7025 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7032 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7034 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7036 …} +entries: Doctrine\ORM\PersistentCollection {#7038 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7040 …} +entryComments: Doctrine\ORM\PersistentCollection {#7042 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7044 …} +posts: Doctrine\ORM\PersistentCollection {#7046 …} +postVotes: Doctrine\ORM\PersistentCollection {#7048 …} +postComments: Doctrine\ORM\PersistentCollection {#7050 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7052 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7054 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7056 …} +follows: Doctrine\ORM\PersistentCollection {#7058 …} +followers: Doctrine\ORM\PersistentCollection {#7060 …} +blocks: Doctrine\ORM\PersistentCollection {#7062 …} +blockers: Doctrine\ORM\PersistentCollection {#7064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7066 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7068 …} +reports: Doctrine\ORM\PersistentCollection {#7070 …} +favourites: Doctrine\ORM\PersistentCollection {#7072 …} +violations: Doctrine\ORM\PersistentCollection {#7074 …} +notifications: Doctrine\ORM\PersistentCollection {#7076 …} +awards: Doctrine\ORM\PersistentCollection {#7078 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7080 …} +categories: Doctrine\ORM\PersistentCollection {#7082 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7084 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7022 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7024 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4110 +user: App\Entity\User {#4099 +avatar: Proxies\__CG__\App\Entity\Image {#4098 …} +cover: Proxies\__CG__\App\Entity\Image {#4097 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4119 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4096 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4094 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4092 …} +entries: Doctrine\ORM\PersistentCollection {#4090 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …} +entryComments: Doctrine\ORM\PersistentCollection {#4147 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …} +posts: Doctrine\ORM\PersistentCollection {#4152 …} +postVotes: Doctrine\ORM\PersistentCollection {#4154 …} +postComments: Doctrine\ORM\PersistentCollection {#4156 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4158 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4160 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4162 …} +follows: Doctrine\ORM\PersistentCollection {#4164 …} +followers: Doctrine\ORM\PersistentCollection {#4166 …} +blocks: Doctrine\ORM\PersistentCollection {#4168 …} +blockers: Doctrine\ORM\PersistentCollection {#4170 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4172 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4174 …} +reports: Doctrine\ORM\PersistentCollection {#4176 …} +favourites: Doctrine\ORM\PersistentCollection {#4178 …} +violations: Doctrine\ORM\PersistentCollection {#4180 …} +notifications: Doctrine\ORM\PersistentCollection {#4182 …} +awards: Doctrine\ORM\PersistentCollection {#4184 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4186 …} +categories: Doctrine\ORM\PersistentCollection {#4188 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4190 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4120 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4117 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4116 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4115 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4105 …} +reports: Doctrine\ORM\PersistentCollection {#4108 …} +favourites: Doctrine\ORM\PersistentCollection {#4103 …} +notifications: Doctrine\ORM\PersistentCollection {#4101 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4121 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4110} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4236 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4241 …} +nested: Doctrine\ORM\PersistentCollection {#4243 …} +votes: Doctrine\ORM\PersistentCollection {#4245 …} +reports: Doctrine\ORM\PersistentCollection {#4247 …} +favourites: Doctrine\ORM\PersistentCollection {#4249 …} +notifications: Doctrine\ORM\PersistentCollection {#4251 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4237 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4238 : 2024-01-13 22:56:39.0 +01:00 } } +nestedComments: [] +level: 2 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
settings_row_enum | App\Twig\Components\SettingsRowEnumComponent | 12.0 MiB | 0.21 ms | |
---|---|---|---|---|
Input props | [ "label" => "Sidebar position" "settingsKey" => "KBIN_GENERAL_SIDEBAR_POSITION" "values" => [ [ "name" => "Left" "value" => "LEFT" ] [ "name" => "Right" "value" => "RIGHT" ] ] "defaultValue" => "RIGHT" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowEnumComponent {#7508 +label: "Sidebar position" +help: "" +settingsKey: "KBIN_GENERAL_SIDEBAR_POSITION" +values: [ [ "name" => "Left" "value" => "LEFT" ] [ "name" => "Right" "value" => "RIGHT" ] ] +defaultValue: "RIGHT" +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.21 ms | |
---|---|---|---|---|
Input props | [ "label" => "Dynamic lists" "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7572 +label: "Dynamic lists" +help: "" +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.19 ms | |
---|---|---|---|---|
Input props | [ "label" => "Rounded edges" "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7637 +label: "Rounded edges" +help: "" +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Infinite scrolling" "help" => "Automatically load more content when you reach the bottom of the page." "settingsKey" => "KBIN_GENERAL_INFINITE_SCROLL" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7693 +label: "Infinite scrolling" +help: "Automatically load more content when you reach the bottom of the page." +settingsKey: "KBIN_GENERAL_INFINITE_SCROLL" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Sticky navbar" "help" => "The navbar will stick to the top of the page when you scroll down." "settingsKey" => "KBIN_GENERAL_FIXED_NAVBAR" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7752 +label: "Sticky navbar" +help: "The navbar will stick to the top of the page when you scroll down." +settingsKey: "KBIN_GENERAL_FIXED_NAVBAR" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show top bar" "settingsKey" => "KBIN_GENERAL_TOPBAR" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7808 +label: "Show top bar" +help: "" +settingsKey: "KBIN_GENERAL_TOPBAR" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Turbo mode (experimental)" "settingsKey" => "KBIN_GENERAL_TURBO" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7864 +label: "Turbo mode (experimental)" +help: "" +settingsKey: "KBIN_GENERAL_TURBO" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 12.0 MiB | 0.23 ms | |
---|---|---|---|---|
Input props | [ "label" => "Mark new comments" "settingsKey" => "KBIN_MARK_NEW_COMMENTS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#7922 +label: "Mark new comments" +help: "" +settingsKey: "KBIN_MARK_NEW_COMMENTS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show "Support Us" block" "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7985 +label: "Show "Support Us" block" +help: "" +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK" +defaultValue: true +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 12.0 MiB | 0.16 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed users" "settingsKey" => "KBIN_SUB_CHANNEL_USERS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#8043 +label: "Show subscribed users" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_USERS" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 12.0 MiB | 0.17 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed magazines" "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#8099 +label: "Show subscribed magazines" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 12.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed domains" "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#8155 +label: "Show subscribed domains" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Auto media preview" "help" => "Automatically expand media previews." "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8211 +label: "Auto media preview" +help: "Automatically expand media previews." +settingsKey: "KBIN_ENTRIES_SHOW_PREVIEW" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Compact view" "settingsKey" => "KBIN_ENTRIES_COMPACT" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8267 +label: "Compact view" +help: "" +settingsKey: "KBIN_ENTRIES_COMPACT" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show users’ avatars" "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8323 +label: "Show users’ avatars" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show magazines’ icons" "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8379 +label: "Show magazines’ icons" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show thumbnails" "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8435 +label: "Show thumbnails" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS" +defaultValue: true +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Auto media preview" "help" => "Automatically expand media previews." "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8491 +label: "Auto media preview" +help: "Automatically expand media previews." +settingsKey: "KBIN_POSTS_SHOW_PREVIEW" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show users’ avatars" "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8547 +label: "Show users’ avatars" +help: "" +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS" +defaultValue: true +reloadRequired: true } |
settings_row_enum | App\Twig\Components\SettingsRowEnumComponent | 12.0 MiB | 0.20 ms | |
---|---|---|---|---|
Input props | [ "label" => "Comment reply position" "help" => "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top." "settingsKey" => "KBIN_COMMENTS_REPLY_POSITION" "values" => [ [ "name" => "top" "value" => "TOP" ] [ "name" => "bottom" "value" => "BOTTOM" ] ] "defaultValue" => "TOP" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowEnumComponent {#8603 +label: "Comment reply position" +help: "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top." +settingsKey: "KBIN_COMMENTS_REPLY_POSITION" +values: [ [ "name" => "top" "value" => "TOP" ] [ "name" => "bottom" "value" => "BOTTOM" ] ] +defaultValue: "TOP" +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show Comment Avatars" "help" => "Display/hide user avatars when viewing comments on a single thread or post." "settingsKey" => "KBIN_COMMENTS_SHOW_USER_AVATAR" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8661 +label: "Show Comment Avatars" +help: "Display/hide user avatars when viewing comments on a single thread or post." +settingsKey: "KBIN_COMMENTS_SHOW_USER_AVATAR" +defaultValue: true +reloadRequired: true } |
user_actions | App\Twig\Components\UserActionsComponent | 12.0 MiB | 0.42 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserActionsComponent {#8738 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1515 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …} +entries: Doctrine\ORM\PersistentCollection {#1406 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …} +entryComments: Doctrine\ORM\PersistentCollection {#1710 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …} +posts: Doctrine\ORM\PersistentCollection {#1745 …} +postVotes: Doctrine\ORM\PersistentCollection {#1485 …} +postComments: Doctrine\ORM\PersistentCollection {#1759 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …} +follows: Doctrine\ORM\PersistentCollection {#1409 …} +followers: Doctrine\ORM\PersistentCollection {#1624 …} +blocks: Doctrine\ORM\PersistentCollection {#1425 …} +blockers: Doctrine\ORM\PersistentCollection {#1441 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …} +reports: Doctrine\ORM\PersistentCollection {#1416 …} +favourites: Doctrine\ORM\PersistentCollection {#1430 …} +violations: Doctrine\ORM\PersistentCollection {#1694 …} +notifications: Doctrine\ORM\PersistentCollection {#1700 …} +awards: Doctrine\ORM\PersistentCollection {#1434 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …} +categories: Doctrine\ORM\PersistentCollection {#1640 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1516 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#8799 +date: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } |
magazine_box | App\Twig\Components\MagazineBoxComponent | 12.0 MiB | 9.69 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } "showSectionTitle" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\MagazineBoxComponent {#8855 +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +showCover: true +showDescription: true +showRules: true +showSubscribeButton: true +showInfo: true +showMeta: true +showSectionTitle: true +stretchedLink: true } |
magazine_sub | App\Twig\Components\MagazineSubComponent | 12.0 MiB | 0.41 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\MagazineSubComponent {#8914 +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#8990 +date: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.59 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#9049 +avatar: null +cover: null +email: "kbin@j0h.nl" +username: "Sprite_tm" +roles: [ "ROLE_ADMIN" ] +followersCount: 0 +homepage: "front" +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com." +lastActive: DateTime @1707547382 {#9096 : 2024-02-10 07:43:02.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: true +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9098 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9100 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9102 …} +entries: Doctrine\ORM\PersistentCollection {#9104 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9106 …} +entryComments: Doctrine\ORM\PersistentCollection {#9108 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9110 …} +posts: Doctrine\ORM\PersistentCollection {#9112 …} +postVotes: Doctrine\ORM\PersistentCollection {#9114 …} +postComments: Doctrine\ORM\PersistentCollection {#9116 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9118 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9120 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9122 …} +follows: Doctrine\ORM\PersistentCollection {#9124 …} +followers: Doctrine\ORM\PersistentCollection {#9126 …} +blocks: Doctrine\ORM\PersistentCollection {#9128 …} +blockers: Doctrine\ORM\PersistentCollection {#9130 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9132 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9134 …} +reports: Doctrine\ORM\PersistentCollection {#9136 …} +favourites: Doctrine\ORM\PersistentCollection {#9138 …} +violations: Doctrine\ORM\PersistentCollection {#9140 …} +notifications: Doctrine\ORM\PersistentCollection {#9142 …} +awards: Doctrine\ORM\PersistentCollection {#9144 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9146 …} +categories: Doctrine\ORM\PersistentCollection {#9148 …} -id: 1 -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9150 …} +apId: null +apProfileId: null +apPublicUrl: null +apFollowersUrl: null +apInboxUrl: null +apDomain: null +apPreferredUsername: null +apDiscoverable: null +apManuallyApprovesFollowers: null +privateKey: """ -----BEGIN PRIVATE KEY-----\r\n MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n 31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n 7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n 1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n -----END PRIVATE KEY----- """ +publicKey: """ -----BEGIN PUBLIC KEY-----\r\n MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n 55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n 60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n 2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n -----END PUBLIC KEY----- """ +apFetchedAt: null +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686560440 {#9097 : 2023-06-12 11:00:40.0 +02:00 } +__isInitialized__: true …2 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#9067 +user: Proxies\__CG__\App\Entity\User {#9049 +avatar: null +cover: null +email: "kbin@j0h.nl" +username: "Sprite_tm" +roles: [ "ROLE_ADMIN" ] +followersCount: 0 +homepage: "front" +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com." +lastActive: DateTime @1707547382 {#9096 : 2024-02-10 07:43:02.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: true +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9098 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9100 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9102 …} +entries: Doctrine\ORM\PersistentCollection {#9104 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9106 …} +entryComments: Doctrine\ORM\PersistentCollection {#9108 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9110 …} +posts: Doctrine\ORM\PersistentCollection {#9112 …} +postVotes: Doctrine\ORM\PersistentCollection {#9114 …} +postComments: Doctrine\ORM\PersistentCollection {#9116 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9118 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9120 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9122 …} +follows: Doctrine\ORM\PersistentCollection {#9124 …} +followers: Doctrine\ORM\PersistentCollection {#9126 …} +blocks: Doctrine\ORM\PersistentCollection {#9128 …} +blockers: Doctrine\ORM\PersistentCollection {#9130 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9132 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9134 …} +reports: Doctrine\ORM\PersistentCollection {#9136 …} +favourites: Doctrine\ORM\PersistentCollection {#9138 …} +violations: Doctrine\ORM\PersistentCollection {#9140 …} +notifications: Doctrine\ORM\PersistentCollection {#9142 …} +awards: Doctrine\ORM\PersistentCollection {#9144 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9146 …} +categories: Doctrine\ORM\PersistentCollection {#9148 …} -id: 1 -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9150 …} +apId: null +apProfileId: null +apPublicUrl: null +apFollowersUrl: null +apInboxUrl: null +apDomain: null +apPreferredUsername: null +apDiscoverable: null +apManuallyApprovesFollowers: null +privateKey: """ -----BEGIN PRIVATE KEY-----\r\n MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n 31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n 7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n 1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n -----END PRIVATE KEY----- """ +publicKey: """ -----BEGIN PUBLIC KEY-----\r\n MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n 55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n 60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n 2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n -----END PUBLIC KEY----- """ +apFetchedAt: null +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686560440 {#9097 : 2023-06-12 11:00:40.0 +02:00 } +__isInitialized__: true …2 } +showAvatar: true } |
related_magazines | App\Twig\Components\RelatedMagazinesComponent | 12.0 MiB | 6.33 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "homeassistant@lemmy.world" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedMagazinesComponent {#9258 +limit: 4 +tag: null +magazine: "homeassistant@lemmy.world" +type: "magazine" +title: "related_magazines" +refreshedRandom: false -repository: App\Repository\MagazineRepository {#334 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
active_users | App\Twig\Components\ActiveUsersComponent | 12.0 MiB | 26.87 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\ActiveUsersComponent {#9384 +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } -userRepository: App\Repository\UserRepository {#603 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.64 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9538 +avatar: Proxies\__CG__\App\Entity\Image {#9537 …} +cover: Proxies\__CG__\App\Entity\Image {#9536 …} +email: "linearchaos@lemmy.world" +username: "@linearchaos@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "I am a Meat-Popsicle" +lastActive: DateTime @1729308159 {#9541 : 2024-10-19 05:22:39.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9535 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9533 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9531 …} +entries: Doctrine\ORM\PersistentCollection {#9529 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9527 …} +entryComments: Doctrine\ORM\PersistentCollection {#9525 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9523 …} +posts: Doctrine\ORM\PersistentCollection {#9521 …} +postVotes: Doctrine\ORM\PersistentCollection {#9519 …} +postComments: Doctrine\ORM\PersistentCollection {#9517 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9515 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9513 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9511 …} +follows: Doctrine\ORM\PersistentCollection {#9509 …} +followers: Doctrine\ORM\PersistentCollection {#9507 …} +blocks: Doctrine\ORM\PersistentCollection {#9505 …} +blockers: Doctrine\ORM\PersistentCollection {#9503 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9501 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9499 …} +reports: Doctrine\ORM\PersistentCollection {#9497 …} +favourites: Doctrine\ORM\PersistentCollection {#9495 …} +violations: Doctrine\ORM\PersistentCollection {#9493 …} +notifications: Doctrine\ORM\PersistentCollection {#9491 …} +awards: Doctrine\ORM\PersistentCollection {#9489 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9487 …} +categories: Doctrine\ORM\PersistentCollection {#9485 …} -id: 3108 -password: "$2y$13$2v2nAdsjTeQGT5pfbqRT/.rNDHJRUmy5WnNcPxe5xhnETAMaVUyXS" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9483 …} +apId: "linearchaos@lemmy.world" +apProfileId: "https://lemmy.world/u/linearchaos" +apPublicUrl: "https://lemmy.world/u/linearchaos" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "linearchaos" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729273460 {#9540 : 2024-10-18 19:44:20.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687052393 {#9539 : 2023-06-18 03:39:53.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#9440 +width: 65 +height: 65 +user: App\Entity\User {#9538 +avatar: Proxies\__CG__\App\Entity\Image {#9537 …} +cover: Proxies\__CG__\App\Entity\Image {#9536 …} +email: "linearchaos@lemmy.world" +username: "@linearchaos@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "I am a Meat-Popsicle" +lastActive: DateTime @1729308159 {#9541 : 2024-10-19 05:22:39.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9535 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9533 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9531 …} +entries: Doctrine\ORM\PersistentCollection {#9529 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9527 …} +entryComments: Doctrine\ORM\PersistentCollection {#9525 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9523 …} +posts: Doctrine\ORM\PersistentCollection {#9521 …} +postVotes: Doctrine\ORM\PersistentCollection {#9519 …} +postComments: Doctrine\ORM\PersistentCollection {#9517 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9515 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9513 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9511 …} +follows: Doctrine\ORM\PersistentCollection {#9509 …} +followers: Doctrine\ORM\PersistentCollection {#9507 …} +blocks: Doctrine\ORM\PersistentCollection {#9505 …} +blockers: Doctrine\ORM\PersistentCollection {#9503 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9501 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9499 …} +reports: Doctrine\ORM\PersistentCollection {#9497 …} +favourites: Doctrine\ORM\PersistentCollection {#9495 …} +violations: Doctrine\ORM\PersistentCollection {#9493 …} +notifications: Doctrine\ORM\PersistentCollection {#9491 …} +awards: Doctrine\ORM\PersistentCollection {#9489 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9487 …} +categories: Doctrine\ORM\PersistentCollection {#9485 …} -id: 3108 -password: "$2y$13$2v2nAdsjTeQGT5pfbqRT/.rNDHJRUmy5WnNcPxe5xhnETAMaVUyXS" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9483 …} +apId: "linearchaos@lemmy.world" +apProfileId: "https://lemmy.world/u/linearchaos" +apPublicUrl: "https://lemmy.world/u/linearchaos" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "linearchaos" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729273460 {#9540 : 2024-10-18 19:44:20.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687052393 {#9539 : 2023-06-18 03:39:53.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.54 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9660 +avatar: Proxies\__CG__\App\Entity\Image {#9661 …} +cover: null +email: "scrubbles@poptalk.scrubbles.tech" +username: "@scrubbles@poptalk.scrubbles.tech" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Little bit of everything!\n \n Avid Swiftie (come join us at [!taylorswift@poptalk.scrubbles.tech](https://poptalk.scrubbles.tech/c/taylorswift) )\n \n Gaming (Mass Effect, Witcher, and too much Satisfactory)\n \n Sci-fi\n \n I live for 90s TV sitcoms """ +lastActive: DateTime @1729501239 {#9665 : 2024-10-21 11:00:39.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9658 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9656 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9654 …} +entries: Doctrine\ORM\PersistentCollection {#9652 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9650 …} +entryComments: Doctrine\ORM\PersistentCollection {#9648 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9646 …} +posts: Doctrine\ORM\PersistentCollection {#9644 …} +postVotes: Doctrine\ORM\PersistentCollection {#9642 …} +postComments: Doctrine\ORM\PersistentCollection {#9640 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9638 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9636 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9634 …} +follows: Doctrine\ORM\PersistentCollection {#9632 …} +followers: Doctrine\ORM\PersistentCollection {#9630 …} +blocks: Doctrine\ORM\PersistentCollection {#9628 …} +blockers: Doctrine\ORM\PersistentCollection {#9626 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9624 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9622 …} +reports: Doctrine\ORM\PersistentCollection {#9620 …} +favourites: Doctrine\ORM\PersistentCollection {#9618 …} +violations: Doctrine\ORM\PersistentCollection {#9616 …} +notifications: Doctrine\ORM\PersistentCollection {#9612 …} +awards: Doctrine\ORM\PersistentCollection {#9609 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9779 …} +categories: Doctrine\ORM\PersistentCollection {#9781 …} -id: 9624 -password: "$2y$13$1v2Qw3gxm1STOexDaxoXW.x6ZqSMLnlC/txRHVswniIgILv6Mocli" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9783 …} +apId: "scrubbles@poptalk.scrubbles.tech" +apProfileId: "https://poptalk.scrubbles.tech/u/scrubbles" +apPublicUrl: "https://poptalk.scrubbles.tech/u/scrubbles" +apFollowersUrl: null +apInboxUrl: "https://poptalk.scrubbles.tech/inbox" +apDomain: "poptalk.scrubbles.tech" +apPreferredUsername: "scrubbles" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729412241 {#9662 : 2024-10-20 10:17:21.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687552207 {#9663 : 2023-06-23 22:30:07.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10015 +width: 65 +height: 65 +user: App\Entity\User {#9660 +avatar: Proxies\__CG__\App\Entity\Image {#9661 …} +cover: null +email: "scrubbles@poptalk.scrubbles.tech" +username: "@scrubbles@poptalk.scrubbles.tech" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Little bit of everything!\n \n Avid Swiftie (come join us at [!taylorswift@poptalk.scrubbles.tech](https://poptalk.scrubbles.tech/c/taylorswift) )\n \n Gaming (Mass Effect, Witcher, and too much Satisfactory)\n \n Sci-fi\n \n I live for 90s TV sitcoms """ +lastActive: DateTime @1729501239 {#9665 : 2024-10-21 11:00:39.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9658 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9656 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9654 …} +entries: Doctrine\ORM\PersistentCollection {#9652 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9650 …} +entryComments: Doctrine\ORM\PersistentCollection {#9648 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9646 …} +posts: Doctrine\ORM\PersistentCollection {#9644 …} +postVotes: Doctrine\ORM\PersistentCollection {#9642 …} +postComments: Doctrine\ORM\PersistentCollection {#9640 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9638 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9636 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9634 …} +follows: Doctrine\ORM\PersistentCollection {#9632 …} +followers: Doctrine\ORM\PersistentCollection {#9630 …} +blocks: Doctrine\ORM\PersistentCollection {#9628 …} +blockers: Doctrine\ORM\PersistentCollection {#9626 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9624 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9622 …} +reports: Doctrine\ORM\PersistentCollection {#9620 …} +favourites: Doctrine\ORM\PersistentCollection {#9618 …} +violations: Doctrine\ORM\PersistentCollection {#9616 …} +notifications: Doctrine\ORM\PersistentCollection {#9612 …} +awards: Doctrine\ORM\PersistentCollection {#9609 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9779 …} +categories: Doctrine\ORM\PersistentCollection {#9781 …} -id: 9624 -password: "$2y$13$1v2Qw3gxm1STOexDaxoXW.x6ZqSMLnlC/txRHVswniIgILv6Mocli" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9783 …} +apId: "scrubbles@poptalk.scrubbles.tech" +apProfileId: "https://poptalk.scrubbles.tech/u/scrubbles" +apPublicUrl: "https://poptalk.scrubbles.tech/u/scrubbles" +apFollowersUrl: null +apInboxUrl: "https://poptalk.scrubbles.tech/inbox" +apDomain: "poptalk.scrubbles.tech" +apPreferredUsername: "scrubbles" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729412241 {#9662 : 2024-10-20 10:17:21.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687552207 {#9663 : 2023-06-23 22:30:07.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.33 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#4240 +avatar: Proxies\__CG__\App\Entity\Image {#7030 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7025 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7032 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7034 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7036 …} +entries: Doctrine\ORM\PersistentCollection {#7038 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7040 …} +entryComments: Doctrine\ORM\PersistentCollection {#7042 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7044 …} +posts: Doctrine\ORM\PersistentCollection {#7046 …} +postVotes: Doctrine\ORM\PersistentCollection {#7048 …} +postComments: Doctrine\ORM\PersistentCollection {#7050 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7052 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7054 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7056 …} +follows: Doctrine\ORM\PersistentCollection {#7058 …} +followers: Doctrine\ORM\PersistentCollection {#7060 …} +blocks: Doctrine\ORM\PersistentCollection {#7062 …} +blockers: Doctrine\ORM\PersistentCollection {#7064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7066 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7068 …} +reports: Doctrine\ORM\PersistentCollection {#7070 …} +favourites: Doctrine\ORM\PersistentCollection {#7072 …} +violations: Doctrine\ORM\PersistentCollection {#7074 …} +notifications: Doctrine\ORM\PersistentCollection {#7076 …} +awards: Doctrine\ORM\PersistentCollection {#7078 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7080 …} +categories: Doctrine\ORM\PersistentCollection {#7082 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7084 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7022 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7024 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10072 +width: 65 +height: 65 +user: Proxies\__CG__\App\Entity\User {#4240 +avatar: Proxies\__CG__\App\Entity\Image {#7030 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7025 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7032 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7034 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7036 …} +entries: Doctrine\ORM\PersistentCollection {#7038 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7040 …} +entryComments: Doctrine\ORM\PersistentCollection {#7042 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7044 …} +posts: Doctrine\ORM\PersistentCollection {#7046 …} +postVotes: Doctrine\ORM\PersistentCollection {#7048 …} +postComments: Doctrine\ORM\PersistentCollection {#7050 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7052 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7054 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7056 …} +follows: Doctrine\ORM\PersistentCollection {#7058 …} +followers: Doctrine\ORM\PersistentCollection {#7060 …} +blocks: Doctrine\ORM\PersistentCollection {#7062 …} +blockers: Doctrine\ORM\PersistentCollection {#7064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7066 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7068 …} +reports: Doctrine\ORM\PersistentCollection {#7070 …} +favourites: Doctrine\ORM\PersistentCollection {#7072 …} +violations: Doctrine\ORM\PersistentCollection {#7074 …} +notifications: Doctrine\ORM\PersistentCollection {#7076 …} +awards: Doctrine\ORM\PersistentCollection {#7078 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7080 …} +categories: Doctrine\ORM\PersistentCollection {#7082 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7084 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7022 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7024 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.54 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9598 +avatar: Proxies\__CG__\App\Entity\Image {#9597 …} +cover: Proxies\__CG__\App\Entity\Image {#9596 …} +email: "solidgrue@lemmy.world" +username: "@solidgrue@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "I’m just this guy, you know?" +lastActive: DateTime @1729172286 {#9601 : 2024-10-17 15:38:06.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9595 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9593 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9591 …} +entries: Doctrine\ORM\PersistentCollection {#9589 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9587 …} +entryComments: Doctrine\ORM\PersistentCollection {#9585 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9583 …} +posts: Doctrine\ORM\PersistentCollection {#9581 …} +postVotes: Doctrine\ORM\PersistentCollection {#9579 …} +postComments: Doctrine\ORM\PersistentCollection {#9577 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9575 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9573 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9571 …} +follows: Doctrine\ORM\PersistentCollection {#9569 …} +followers: Doctrine\ORM\PersistentCollection {#9567 …} +blocks: Doctrine\ORM\PersistentCollection {#9565 …} +blockers: Doctrine\ORM\PersistentCollection {#9563 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9561 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9559 …} +reports: Doctrine\ORM\PersistentCollection {#9557 …} +favourites: Doctrine\ORM\PersistentCollection {#9555 …} +violations: Doctrine\ORM\PersistentCollection {#9553 …} +notifications: Doctrine\ORM\PersistentCollection {#9551 …} +awards: Doctrine\ORM\PersistentCollection {#9549 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9547 …} +categories: Doctrine\ORM\PersistentCollection {#9545 …} -id: 759 -password: "$2y$13$6y555FIo11R6QPa7JlgYOe5dVRCtJdhMDLupQiwRA598m4bR.ID52" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9543 …} +apId: "solidgrue@lemmy.world" +apProfileId: "https://lemmy.world/u/solidgrue" +apPublicUrl: "https://lemmy.world/u/solidgrue" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "solidgrue" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728122338 {#9600 : 2024-10-05 11:58:58.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686963234 {#9599 : 2023-06-17 02:53:54.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10128 +width: 65 +height: 65 +user: App\Entity\User {#9598 +avatar: Proxies\__CG__\App\Entity\Image {#9597 …} +cover: Proxies\__CG__\App\Entity\Image {#9596 …} +email: "solidgrue@lemmy.world" +username: "@solidgrue@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "I’m just this guy, you know?" +lastActive: DateTime @1729172286 {#9601 : 2024-10-17 15:38:06.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9595 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9593 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9591 …} +entries: Doctrine\ORM\PersistentCollection {#9589 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9587 …} +entryComments: Doctrine\ORM\PersistentCollection {#9585 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9583 …} +posts: Doctrine\ORM\PersistentCollection {#9581 …} +postVotes: Doctrine\ORM\PersistentCollection {#9579 …} +postComments: Doctrine\ORM\PersistentCollection {#9577 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9575 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9573 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9571 …} +follows: Doctrine\ORM\PersistentCollection {#9569 …} +followers: Doctrine\ORM\PersistentCollection {#9567 …} +blocks: Doctrine\ORM\PersistentCollection {#9565 …} +blockers: Doctrine\ORM\PersistentCollection {#9563 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9561 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9559 …} +reports: Doctrine\ORM\PersistentCollection {#9557 …} +favourites: Doctrine\ORM\PersistentCollection {#9555 …} +violations: Doctrine\ORM\PersistentCollection {#9553 …} +notifications: Doctrine\ORM\PersistentCollection {#9551 …} +awards: Doctrine\ORM\PersistentCollection {#9549 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9547 …} +categories: Doctrine\ORM\PersistentCollection {#9545 …} -id: 759 -password: "$2y$13$6y555FIo11R6QPa7JlgYOe5dVRCtJdhMDLupQiwRA598m4bR.ID52" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9543 …} +apId: "solidgrue@lemmy.world" +apProfileId: "https://lemmy.world/u/solidgrue" +apPublicUrl: "https://lemmy.world/u/solidgrue" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "solidgrue" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728122338 {#9600 : 2024-10-05 11:58:58.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686963234 {#9599 : 2023-06-17 02:53:54.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.49 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9721 +avatar: Proxies\__CG__\App\Entity\Image {#9718 …} +cover: null +email: "peter@feddit.uk" +username: "@peter@feddit.uk" +roles: [] +followersCount: 0 +homepage: "front" +about: "[bi.gp](https://bi.gp)" +lastActive: DateTime @1729513978 {#9722 : 2024-10-21 14:32:58.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9719 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9717 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9715 …} +entries: Doctrine\ORM\PersistentCollection {#9713 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9711 …} +entryComments: Doctrine\ORM\PersistentCollection {#9709 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9707 …} +posts: Doctrine\ORM\PersistentCollection {#9705 …} +postVotes: Doctrine\ORM\PersistentCollection {#9703 …} +postComments: Doctrine\ORM\PersistentCollection {#9701 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9699 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9697 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9695 …} +follows: Doctrine\ORM\PersistentCollection {#9693 …} +followers: Doctrine\ORM\PersistentCollection {#9691 …} +blocks: Doctrine\ORM\PersistentCollection {#9689 …} +blockers: Doctrine\ORM\PersistentCollection {#9687 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9685 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9683 …} +reports: Doctrine\ORM\PersistentCollection {#9681 …} +favourites: Doctrine\ORM\PersistentCollection {#9679 …} +violations: Doctrine\ORM\PersistentCollection {#9677 …} +notifications: Doctrine\ORM\PersistentCollection {#9675 …} +awards: Doctrine\ORM\PersistentCollection {#9673 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9671 …} +categories: Doctrine\ORM\PersistentCollection {#9669 …} -id: 9592 -password: "$2y$13$1fvAobuLq1/m5tuZB/Vexul0JXEQGOURyD2lTOS6p9369zpTQwcz2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9667 …} +apId: "peter@feddit.uk" +apProfileId: "https://feddit.uk/u/peter" +apPublicUrl: "https://feddit.uk/u/peter" +apFollowersUrl: null +apInboxUrl: "https://feddit.uk/inbox" +apDomain: "feddit.uk" +apPreferredUsername: "peter" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1719239657 {#9723 : 2024-06-24 16:34:17.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687550559 {#9720 : 2023-06-23 22:02:39.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10185 +width: 65 +height: 65 +user: App\Entity\User {#9721 +avatar: Proxies\__CG__\App\Entity\Image {#9718 …} +cover: null +email: "peter@feddit.uk" +username: "@peter@feddit.uk" +roles: [] +followersCount: 0 +homepage: "front" +about: "[bi.gp](https://bi.gp)" +lastActive: DateTime @1729513978 {#9722 : 2024-10-21 14:32:58.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9719 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9717 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9715 …} +entries: Doctrine\ORM\PersistentCollection {#9713 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9711 …} +entryComments: Doctrine\ORM\PersistentCollection {#9709 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9707 …} +posts: Doctrine\ORM\PersistentCollection {#9705 …} +postVotes: Doctrine\ORM\PersistentCollection {#9703 …} +postComments: Doctrine\ORM\PersistentCollection {#9701 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9699 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9697 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9695 …} +follows: Doctrine\ORM\PersistentCollection {#9693 …} +followers: Doctrine\ORM\PersistentCollection {#9691 …} +blocks: Doctrine\ORM\PersistentCollection {#9689 …} +blockers: Doctrine\ORM\PersistentCollection {#9687 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9685 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9683 …} +reports: Doctrine\ORM\PersistentCollection {#9681 …} +favourites: Doctrine\ORM\PersistentCollection {#9679 …} +violations: Doctrine\ORM\PersistentCollection {#9677 …} +notifications: Doctrine\ORM\PersistentCollection {#9675 …} +awards: Doctrine\ORM\PersistentCollection {#9673 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9671 …} +categories: Doctrine\ORM\PersistentCollection {#9669 …} -id: 9592 -password: "$2y$13$1fvAobuLq1/m5tuZB/Vexul0JXEQGOURyD2lTOS6p9369zpTQwcz2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9667 …} +apId: "peter@feddit.uk" +apProfileId: "https://feddit.uk/u/peter" +apPublicUrl: "https://feddit.uk/u/peter" +apFollowersUrl: null +apInboxUrl: "https://feddit.uk/inbox" +apDomain: "feddit.uk" +apPreferredUsername: "peter" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1719239657 {#9723 : 2024-06-24 16:34:17.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687550559 {#9720 : 2023-06-23 22:02:39.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.47 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9906 +avatar: Proxies\__CG__\App\Entity\Image {#9907 …} +cover: Proxies\__CG__\App\Entity\Image {#9908 …} +email: "RandomLegend@lemmy.dbzer0.com" +username: "@RandomLegend@lemmy.dbzer0.com" +roles: [] +followersCount: 0 +homepage: "front" +about: """ [You wouldn’t download a car.](https://www.youtube.com/watch?v=Fb7N-JtQWGI)\n \n wiki-user: RandomLegend """ +lastActive: DateTime @1729373902 {#9903 : 2024-10-19 23:38:22.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9909 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9911 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9913 …} +entries: Doctrine\ORM\PersistentCollection {#9915 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9917 …} +entryComments: Doctrine\ORM\PersistentCollection {#9919 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9921 …} +posts: Doctrine\ORM\PersistentCollection {#9923 …} +postVotes: Doctrine\ORM\PersistentCollection {#9925 …} +postComments: Doctrine\ORM\PersistentCollection {#9927 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9929 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9931 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9933 …} +follows: Doctrine\ORM\PersistentCollection {#9935 …} +followers: Doctrine\ORM\PersistentCollection {#9937 …} +blocks: Doctrine\ORM\PersistentCollection {#9939 …} +blockers: Doctrine\ORM\PersistentCollection {#9941 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9943 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9945 …} +reports: Doctrine\ORM\PersistentCollection {#9947 …} +favourites: Doctrine\ORM\PersistentCollection {#9949 …} +violations: Doctrine\ORM\PersistentCollection {#9951 …} +notifications: Doctrine\ORM\PersistentCollection {#9953 …} +awards: Doctrine\ORM\PersistentCollection {#9955 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9957 …} +categories: Doctrine\ORM\PersistentCollection {#9959 …} -id: 23124 -password: "$2y$13$2m.lX2bvghWd4.e.do3V3eezE1SpTQ0/FLc/od7BnJcWSIcb4Vn9G" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9961 …} +apId: "RandomLegend@lemmy.dbzer0.com" +apProfileId: "https://lemmy.dbzer0.com/u/RandomLegend" +apPublicUrl: "https://lemmy.dbzer0.com/u/RandomLegend" +apFollowersUrl: null +apInboxUrl: "https://lemmy.dbzer0.com/inbox" +apDomain: "lemmy.dbzer0.com" +apPreferredUsername: "RandomLegend" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727145873 {#9904 : 2024-09-24 04:44:33.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689090339 {#9905 : 2023-07-11 17:45:39.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10242 +width: 65 +height: 65 +user: App\Entity\User {#9906 +avatar: Proxies\__CG__\App\Entity\Image {#9907 …} +cover: Proxies\__CG__\App\Entity\Image {#9908 …} +email: "RandomLegend@lemmy.dbzer0.com" +username: "@RandomLegend@lemmy.dbzer0.com" +roles: [] +followersCount: 0 +homepage: "front" +about: """ [You wouldn’t download a car.](https://www.youtube.com/watch?v=Fb7N-JtQWGI)\n \n wiki-user: RandomLegend """ +lastActive: DateTime @1729373902 {#9903 : 2024-10-19 23:38:22.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9909 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9911 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9913 …} +entries: Doctrine\ORM\PersistentCollection {#9915 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9917 …} +entryComments: Doctrine\ORM\PersistentCollection {#9919 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9921 …} +posts: Doctrine\ORM\PersistentCollection {#9923 …} +postVotes: Doctrine\ORM\PersistentCollection {#9925 …} +postComments: Doctrine\ORM\PersistentCollection {#9927 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9929 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9931 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9933 …} +follows: Doctrine\ORM\PersistentCollection {#9935 …} +followers: Doctrine\ORM\PersistentCollection {#9937 …} +blocks: Doctrine\ORM\PersistentCollection {#9939 …} +blockers: Doctrine\ORM\PersistentCollection {#9941 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9943 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9945 …} +reports: Doctrine\ORM\PersistentCollection {#9947 …} +favourites: Doctrine\ORM\PersistentCollection {#9949 …} +violations: Doctrine\ORM\PersistentCollection {#9951 …} +notifications: Doctrine\ORM\PersistentCollection {#9953 …} +awards: Doctrine\ORM\PersistentCollection {#9955 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9957 …} +categories: Doctrine\ORM\PersistentCollection {#9959 …} -id: 23124 -password: "$2y$13$2m.lX2bvghWd4.e.do3V3eezE1SpTQ0/FLc/od7BnJcWSIcb4Vn9G" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9961 …} +apId: "RandomLegend@lemmy.dbzer0.com" +apProfileId: "https://lemmy.dbzer0.com/u/RandomLegend" +apPublicUrl: "https://lemmy.dbzer0.com/u/RandomLegend" +apFollowersUrl: null +apInboxUrl: "https://lemmy.dbzer0.com/inbox" +apDomain: "lemmy.dbzer0.com" +apPreferredUsername: "RandomLegend" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727145873 {#9904 : 2024-09-24 04:44:33.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689090339 {#9905 : 2023-07-11 17:45:39.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.46 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9771 +avatar: Proxies\__CG__\App\Entity\Image {#9768 …} +cover: Proxies\__CG__\App\Entity\Image {#9763 …} +email: "DeltaTangoLima@reddrefuge.com" +username: "@DeltaTangoLima@reddrefuge.com" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Just an Aussie tech guy - home automation, ESP gadgets, networking. Also love my camping and 4WDing.\n \n Be a good motherfucker. Peace. """ +lastActive: DateTime @1728206804 {#9438 : 2024-10-06 11:26:44.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9617 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9606 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9776 …} +entries: Doctrine\ORM\PersistentCollection {#9775 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9772 …} +entryComments: Doctrine\ORM\PersistentCollection {#9769 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9766 …} +posts: Doctrine\ORM\PersistentCollection {#9765 …} +postVotes: Doctrine\ORM\PersistentCollection {#9615 …} +postComments: Doctrine\ORM\PersistentCollection {#9758 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9756 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9754 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9752 …} +follows: Doctrine\ORM\PersistentCollection {#9750 …} +followers: Doctrine\ORM\PersistentCollection {#9748 …} +blocks: Doctrine\ORM\PersistentCollection {#9746 …} +blockers: Doctrine\ORM\PersistentCollection {#9744 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9742 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9740 …} +reports: Doctrine\ORM\PersistentCollection {#9738 …} +favourites: Doctrine\ORM\PersistentCollection {#9736 …} +violations: Doctrine\ORM\PersistentCollection {#9734 …} +notifications: Doctrine\ORM\PersistentCollection {#9732 …} +awards: Doctrine\ORM\PersistentCollection {#9730 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9728 …} +categories: Doctrine\ORM\PersistentCollection {#9726 …} -id: 7409 -password: "$2y$13$PPzpxxadwj6rnbsXtZV06uAkMX2qpLUMu8q6zzklFbvnVeQxNXaKm" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9724 …} +apId: "DeltaTangoLima@reddrefuge.com" +apProfileId: "https://reddrefuge.com/u/DeltaTangoLima" +apPublicUrl: "https://reddrefuge.com/u/DeltaTangoLima" +apFollowersUrl: null +apInboxUrl: "https://reddrefuge.com/inbox" +apDomain: "reddrefuge.com" +apPreferredUsername: "DeltaTangoLima" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728442483 {#9441 : 2024-10-09 04:54:43.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687467753 {#9774 : 2023-06-22 23:02:33.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10299 +width: 65 +height: 65 +user: App\Entity\User {#9771 +avatar: Proxies\__CG__\App\Entity\Image {#9768 …} +cover: Proxies\__CG__\App\Entity\Image {#9763 …} +email: "DeltaTangoLima@reddrefuge.com" +username: "@DeltaTangoLima@reddrefuge.com" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Just an Aussie tech guy - home automation, ESP gadgets, networking. Also love my camping and 4WDing.\n \n Be a good motherfucker. Peace. """ +lastActive: DateTime @1728206804 {#9438 : 2024-10-06 11:26:44.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9617 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9606 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9776 …} +entries: Doctrine\ORM\PersistentCollection {#9775 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9772 …} +entryComments: Doctrine\ORM\PersistentCollection {#9769 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9766 …} +posts: Doctrine\ORM\PersistentCollection {#9765 …} +postVotes: Doctrine\ORM\PersistentCollection {#9615 …} +postComments: Doctrine\ORM\PersistentCollection {#9758 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9756 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9754 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9752 …} +follows: Doctrine\ORM\PersistentCollection {#9750 …} +followers: Doctrine\ORM\PersistentCollection {#9748 …} +blocks: Doctrine\ORM\PersistentCollection {#9746 …} +blockers: Doctrine\ORM\PersistentCollection {#9744 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9742 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9740 …} +reports: Doctrine\ORM\PersistentCollection {#9738 …} +favourites: Doctrine\ORM\PersistentCollection {#9736 …} +violations: Doctrine\ORM\PersistentCollection {#9734 …} +notifications: Doctrine\ORM\PersistentCollection {#9732 …} +awards: Doctrine\ORM\PersistentCollection {#9730 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9728 …} +categories: Doctrine\ORM\PersistentCollection {#9726 …} -id: 7409 -password: "$2y$13$PPzpxxadwj6rnbsXtZV06uAkMX2qpLUMu8q6zzklFbvnVeQxNXaKm" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9724 …} +apId: "DeltaTangoLima@reddrefuge.com" +apProfileId: "https://reddrefuge.com/u/DeltaTangoLima" +apPublicUrl: "https://reddrefuge.com/u/DeltaTangoLima" +apFollowersUrl: null +apInboxUrl: "https://reddrefuge.com/inbox" +apDomain: "reddrefuge.com" +apPreferredUsername: "DeltaTangoLima" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728442483 {#9441 : 2024-10-09 04:54:43.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687467753 {#9774 : 2023-06-22 23:02:33.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.49 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9478 +avatar: Proxies\__CG__\App\Entity\Image {#9477 …} +cover: null +email: "nexusband@lemmy.world" +username: "@nexusband@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "u/nexusband on Reddit" +lastActive: DateTime @1726696730 {#9481 : 2024-09-18 23:58:50.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9476 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9474 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9472 …} +entries: Doctrine\ORM\PersistentCollection {#9470 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9468 …} +entryComments: Doctrine\ORM\PersistentCollection {#9466 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9464 …} +posts: Doctrine\ORM\PersistentCollection {#9462 …} +postVotes: Doctrine\ORM\PersistentCollection {#9460 …} +postComments: Doctrine\ORM\PersistentCollection {#9458 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9456 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9454 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9452 …} +follows: Doctrine\ORM\PersistentCollection {#9402 …} +followers: Doctrine\ORM\PersistentCollection {#9404 …} +blocks: Doctrine\ORM\PersistentCollection {#9411 …} +blockers: Doctrine\ORM\PersistentCollection {#9412 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9414 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9416 …} +reports: Doctrine\ORM\PersistentCollection {#9413 …} +favourites: Doctrine\ORM\PersistentCollection {#9406 …} +violations: Doctrine\ORM\PersistentCollection {#9424 …} +notifications: Doctrine\ORM\PersistentCollection {#9421 …} +awards: Doctrine\ORM\PersistentCollection {#9429 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9426 …} +categories: Doctrine\ORM\PersistentCollection {#9434 …} -id: 4990 -password: "$2y$13$L4RmsNSM4pxzW8kh/RJQxObKhxaVudcF4VQxUn.k1jaJXfXzLJIMK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9436 …} +apId: "nexusband@lemmy.world" +apProfileId: "https://lemmy.world/u/nexusband" +apPublicUrl: "https://lemmy.world/u/nexusband" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "nexusband" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1719410771 {#9480 : 2024-06-26 16:06:11.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687155943 {#9479 : 2023-06-19 08:25:43.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10356 +width: 65 +height: 65 +user: App\Entity\User {#9478 +avatar: Proxies\__CG__\App\Entity\Image {#9477 …} +cover: null +email: "nexusband@lemmy.world" +username: "@nexusband@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "u/nexusband on Reddit" +lastActive: DateTime @1726696730 {#9481 : 2024-09-18 23:58:50.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9476 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9474 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9472 …} +entries: Doctrine\ORM\PersistentCollection {#9470 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9468 …} +entryComments: Doctrine\ORM\PersistentCollection {#9466 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9464 …} +posts: Doctrine\ORM\PersistentCollection {#9462 …} +postVotes: Doctrine\ORM\PersistentCollection {#9460 …} +postComments: Doctrine\ORM\PersistentCollection {#9458 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9456 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9454 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9452 …} +follows: Doctrine\ORM\PersistentCollection {#9402 …} +followers: Doctrine\ORM\PersistentCollection {#9404 …} +blocks: Doctrine\ORM\PersistentCollection {#9411 …} +blockers: Doctrine\ORM\PersistentCollection {#9412 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9414 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9416 …} +reports: Doctrine\ORM\PersistentCollection {#9413 …} +favourites: Doctrine\ORM\PersistentCollection {#9406 …} +violations: Doctrine\ORM\PersistentCollection {#9424 …} +notifications: Doctrine\ORM\PersistentCollection {#9421 …} +awards: Doctrine\ORM\PersistentCollection {#9429 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9426 …} +categories: Doctrine\ORM\PersistentCollection {#9434 …} -id: 4990 -password: "$2y$13$L4RmsNSM4pxzW8kh/RJQxObKhxaVudcF4VQxUn.k1jaJXfXzLJIMK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9436 …} +apId: "nexusband@lemmy.world" +apProfileId: "https://lemmy.world/u/nexusband" +apPublicUrl: "https://lemmy.world/u/nexusband" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "nexusband" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1719410771 {#9480 : 2024-06-26 16:06:11.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687155943 {#9479 : 2023-06-19 08:25:43.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.46 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9788 +avatar: Proxies\__CG__\App\Entity\Image {#9789 …} +cover: null +email: "ikidd@lemmy.world" +username: "@ikidd@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "" +lastActive: DateTime @1729466951 {#9785 : 2024-10-21 01:29:11.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9790 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9792 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9794 …} +entries: Doctrine\ORM\PersistentCollection {#9796 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9798 …} +entryComments: Doctrine\ORM\PersistentCollection {#9800 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9802 …} +posts: Doctrine\ORM\PersistentCollection {#9804 …} +postVotes: Doctrine\ORM\PersistentCollection {#9806 …} +postComments: Doctrine\ORM\PersistentCollection {#9808 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9810 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9812 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9814 …} +follows: Doctrine\ORM\PersistentCollection {#9816 …} +followers: Doctrine\ORM\PersistentCollection {#9818 …} +blocks: Doctrine\ORM\PersistentCollection {#9820 …} +blockers: Doctrine\ORM\PersistentCollection {#9822 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9824 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9826 …} +reports: Doctrine\ORM\PersistentCollection {#9828 …} +favourites: Doctrine\ORM\PersistentCollection {#9830 …} +violations: Doctrine\ORM\PersistentCollection {#9832 …} +notifications: Doctrine\ORM\PersistentCollection {#9834 …} +awards: Doctrine\ORM\PersistentCollection {#9836 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9838 …} +categories: Doctrine\ORM\PersistentCollection {#9840 …} -id: 10091 -password: "$2y$13$Hs01I7h9Qg2.3r7S/UmREenif/tEkQbvUyUBRgrlHdYlemJYd4n.6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9842 …} +apId: "ikidd@lemmy.world" +apProfileId: "https://lemmy.world/u/ikidd" +apPublicUrl: "https://lemmy.world/u/ikidd" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "ikidd" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728268140 {#9786 : 2024-10-07 04:29:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687576792 {#9787 : 2023-06-24 05:19:52.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10413 +width: 65 +height: 65 +user: App\Entity\User {#9788 +avatar: Proxies\__CG__\App\Entity\Image {#9789 …} +cover: null +email: "ikidd@lemmy.world" +username: "@ikidd@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "" +lastActive: DateTime @1729466951 {#9785 : 2024-10-21 01:29:11.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9790 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9792 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9794 …} +entries: Doctrine\ORM\PersistentCollection {#9796 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9798 …} +entryComments: Doctrine\ORM\PersistentCollection {#9800 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9802 …} +posts: Doctrine\ORM\PersistentCollection {#9804 …} +postVotes: Doctrine\ORM\PersistentCollection {#9806 …} +postComments: Doctrine\ORM\PersistentCollection {#9808 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9810 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9812 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9814 …} +follows: Doctrine\ORM\PersistentCollection {#9816 …} +followers: Doctrine\ORM\PersistentCollection {#9818 …} +blocks: Doctrine\ORM\PersistentCollection {#9820 …} +blockers: Doctrine\ORM\PersistentCollection {#9822 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9824 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9826 …} +reports: Doctrine\ORM\PersistentCollection {#9828 …} +favourites: Doctrine\ORM\PersistentCollection {#9830 …} +violations: Doctrine\ORM\PersistentCollection {#9832 …} +notifications: Doctrine\ORM\PersistentCollection {#9834 …} +awards: Doctrine\ORM\PersistentCollection {#9836 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9838 …} +categories: Doctrine\ORM\PersistentCollection {#9840 …} -id: 10091 -password: "$2y$13$Hs01I7h9Qg2.3r7S/UmREenif/tEkQbvUyUBRgrlHdYlemJYd4n.6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9842 …} +apId: "ikidd@lemmy.world" +apProfileId: "https://lemmy.world/u/ikidd" +apPublicUrl: "https://lemmy.world/u/ikidd" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "ikidd" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728268140 {#9786 : 2024-10-07 04:29:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687576792 {#9787 : 2023-06-24 05:19:52.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.54 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9847 +avatar: Proxies\__CG__\App\Entity\Image {#9848 …} +cover: null +email: "sabreW4K3@lemmy.tf" +username: "@sabreW4K3@lemmy.tf" +roles: [] +followersCount: 0 +homepage: "front" +about: "Born and raised in London. Just a normal guy with a moral compass." +lastActive: DateTime @1719641720 {#9844 : 2024-06-29 08:15:20.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9849 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9851 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9853 …} +entries: Doctrine\ORM\PersistentCollection {#9855 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9857 …} +entryComments: Doctrine\ORM\PersistentCollection {#9859 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9861 …} +posts: Doctrine\ORM\PersistentCollection {#9863 …} +postVotes: Doctrine\ORM\PersistentCollection {#9865 …} +postComments: Doctrine\ORM\PersistentCollection {#9867 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9869 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9871 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9873 …} +follows: Doctrine\ORM\PersistentCollection {#9875 …} +followers: Doctrine\ORM\PersistentCollection {#9877 …} +blocks: Doctrine\ORM\PersistentCollection {#9879 …} +blockers: Doctrine\ORM\PersistentCollection {#9881 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9883 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9885 …} +reports: Doctrine\ORM\PersistentCollection {#9887 …} +favourites: Doctrine\ORM\PersistentCollection {#9889 …} +violations: Doctrine\ORM\PersistentCollection {#9891 …} +notifications: Doctrine\ORM\PersistentCollection {#9893 …} +awards: Doctrine\ORM\PersistentCollection {#9895 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9897 …} +categories: Doctrine\ORM\PersistentCollection {#9899 …} -id: 18722 -password: "$2y$13$vnNBQzx7/q0nMnGivsVptul1Uh8CXMJXU5oJswLcXSPiiZbMKPzUa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9901 …} +apId: "sabreW4K3@lemmy.tf" +apProfileId: "https://lemmy.tf/u/sabreW4K3" +apPublicUrl: "https://lemmy.tf/u/sabreW4K3" +apFollowersUrl: null +apInboxUrl: "https://lemmy.tf/inbox" +apDomain: "lemmy.tf" +apPreferredUsername: "sabreW4K3" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1719228515 {#9845 : 2024-06-24 13:28:35.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688508579 {#9846 : 2023-07-05 00:09:39.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10470 +width: 65 +height: 65 +user: App\Entity\User {#9847 +avatar: Proxies\__CG__\App\Entity\Image {#9848 …} +cover: null +email: "sabreW4K3@lemmy.tf" +username: "@sabreW4K3@lemmy.tf" +roles: [] +followersCount: 0 +homepage: "front" +about: "Born and raised in London. Just a normal guy with a moral compass." +lastActive: DateTime @1719641720 {#9844 : 2024-06-29 08:15:20.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9849 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9851 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9853 …} +entries: Doctrine\ORM\PersistentCollection {#9855 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9857 …} +entryComments: Doctrine\ORM\PersistentCollection {#9859 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9861 …} +posts: Doctrine\ORM\PersistentCollection {#9863 …} +postVotes: Doctrine\ORM\PersistentCollection {#9865 …} +postComments: Doctrine\ORM\PersistentCollection {#9867 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9869 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9871 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9873 …} +follows: Doctrine\ORM\PersistentCollection {#9875 …} +followers: Doctrine\ORM\PersistentCollection {#9877 …} +blocks: Doctrine\ORM\PersistentCollection {#9879 …} +blockers: Doctrine\ORM\PersistentCollection {#9881 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9883 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9885 …} +reports: Doctrine\ORM\PersistentCollection {#9887 …} +favourites: Doctrine\ORM\PersistentCollection {#9889 …} +violations: Doctrine\ORM\PersistentCollection {#9891 …} +notifications: Doctrine\ORM\PersistentCollection {#9893 …} +awards: Doctrine\ORM\PersistentCollection {#9895 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9897 …} +categories: Doctrine\ORM\PersistentCollection {#9899 …} -id: 18722 -password: "$2y$13$vnNBQzx7/q0nMnGivsVptul1Uh8CXMJXU5oJswLcXSPiiZbMKPzUa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9901 …} +apId: "sabreW4K3@lemmy.tf" +apProfileId: "https://lemmy.tf/u/sabreW4K3" +apPublicUrl: "https://lemmy.tf/u/sabreW4K3" +apFollowersUrl: null +apInboxUrl: "https://lemmy.tf/inbox" +apDomain: "lemmy.tf" +apPreferredUsername: "sabreW4K3" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1719228515 {#9845 : 2024-06-24 13:28:35.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688508579 {#9846 : 2023-07-05 00:09:39.0 +02:00 } } +asLink: true } |
related_categories | App\Twig\Components\RelatedCategoriesComponent | 12.0 MiB | 4.97 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "homeassistant@lemmy.world" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedCategoriesComponent {#10532 +limit: 4 +tag: null +magazine: "homeassistant@lemmy.world" +type: "related" +title: "related_categories" +refreshedRandom: false -repository: App\Repository\CategoryRepository {#10533 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
related_posts | App\Twig\Components\RelatedPostsComponent | 12.0 MiB | 6.07 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "homeassistant@lemmy.world" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedPostsComponent {#10609 +limit: 4 +tag: null +magazine: "homeassistant@lemmy.world" +type: "magazine" +post: null +title: "related_posts" +refreshedRandom: false -repository: App\Repository\PostRepository {#10610 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -mentionManager: App\Service\MentionManager {#390 …} } |
related_entries | App\Twig\Components\RelatedEntriesComponent | 12.0 MiB | 17.17 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "homeassistant@lemmy.world" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedEntriesComponent {#10730 +limit: 4 +tag: null +magazine: "homeassistant@lemmy.world" +type: "magazine" +entry: null +title: "related_entries" +refreshedRandom: false -repository: App\Repository\EntryRepository {#271 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -mentionManager: App\Service\MentionManager {#390 …} } |
support_us_block | App\Twig\Components\SupportUsBlock | 12.0 MiB | 0.41 ms | |
---|---|---|---|---|
Input props | [] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SupportUsBlock {#10785 +subject: ? App\Entity\Contracts\VotableInterface +url: ? string -twig: Twig\Environment {#1252 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -partnerBlockRepository: App\Repository\PartnerBlockRepository {#10784 …} } |
featured_magazines | App\Twig\Components\FeaturedMagazinesComponent | 12.0 MiB | 5.60 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\FeaturedMagazinesComponent {#10860 +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } -twig: Twig\Environment {#1252 …} -repository: App\Repository\MagazineRepository {#334 …} } |